From 5132e3a289101de2f9f031d5b405ef32724ea4a9 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Sun, 4 Oct 2020 11:33:01 +0200 Subject: [PATCH] bar indicators: fixed alignment when bar border is used --- patch/bar_indicators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch/bar_indicators.c b/patch/bar_indicators.c index 90eb1a0..7f22a45 100644 --- a/patch/bar_indicators.c +++ b/patch/bar_indicators.c @@ -70,7 +70,7 @@ drawindicator(Monitor *m, Client *c, unsigned int occ, int x, int y, int w, int ( x + w - 2 - ((NUMTAGS / TAGSROWS) * TAGSPX) - (i % (NUMTAGS/TAGSROWS)) + ((i % (NUMTAGS / TAGSROWS)) * TAGSPX) ), - ( 2 + ((i / (NUMTAGS/TAGSROWS)) * TAGSPX) + ( y + 2 + ((i / (NUMTAGS/TAGSROWS)) * TAGSPX) - ((i / (NUMTAGS/TAGSROWS))) ), TAGSPX, TAGSPX, (c->tags >> i) & 1, 0