From b2f4c64dd60e8785babf8edf4be3fd8444f90cca Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Mon, 5 Apr 2021 11:20:04 -0400 Subject: [PATCH] [dwm] Fix tag click alignment --- suckless/dwm/dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;