bar indicators: fixed alignment when bar border is used

This commit is contained in:
bakkeby 2020-10-04 11:33:01 +02:00
parent 21bafa5e69
commit 5132e3a289

View File

@ -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