diff --git a/suckless/dwm/dwm.c b/suckless/dwm/dwm.c index 1a6253d..8d2e56c 100644 --- a/suckless/dwm/dwm.c +++ b/suckless/dwm/dwm.c @@ -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;