mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
bar indicators: fixed alignment when bar border is used
This commit is contained in:
parent
21bafa5e69
commit
5132e3a289
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user