summaryrefslogtreecommitdiffhomepage
path: root/patch
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-10-04 11:33:01 +0200
committerbakkeby <[email protected]>2020-10-04 11:33:01 +0200
commit5132e3a289101de2f9f031d5b405ef32724ea4a9 (patch)
treee055f2e77b2527a8526eff16b116db66d8f17f86 /patch
parent21bafa5e697e1060dd91031d8714abe6f37490c9 (diff)
downloaddwm-flexipatch-5132e3a289101de2f9f031d5b405ef32724ea4a9.tar.gz
dwm-flexipatch-5132e3a289101de2f9f031d5b405ef32724ea4a9.zip
bar indicators: fixed alignment when bar border is used
Diffstat (limited to 'patch')
-rw-r--r--patch/bar_indicators.c2
1 files changed, 1 insertions, 1 deletions
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