[dwm] Fix tag click alignment
This commit is contained in:
parent
2b6722fcba
commit
b2f4c64dd6
@ -502,7 +502,7 @@ buttonpress(XEvent *e)
|
||||
if (ev->window == selmon->barwin) {
|
||||
i = x = 0;
|
||||
do
|
||||
x += TEXTW(tags[i]);
|
||||
x += (drw->fonts->h / 6 + 2)*4;
|
||||
while (ev->x >= x && ++i < LENGTH(tags));
|
||||
if (i < LENGTH(tags)) {
|
||||
click = ClkTagBar;
|
||||
|
Loading…
Reference in New Issue
Block a user