From: Anselm R Garbe Date: Tue, 25 Mar 2008 09:41:14 +0000 (+0000) Subject: bugfix X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=0c71b16b9282562ee59f73f215c6ba827df25927;p=dwm.git bugfix --- diff --git a/dwm.c b/dwm.c index 212bf3e..37e833e 100644 --- a/dwm.c +++ b/dwm.c @@ -330,7 +330,7 @@ buttonpress(XEvent *e) { x = bgw; for(i = 0; i < LENGTH(tags); i++) { x += textw(tags[i]); - if(ev->x > bgw && ev->x < x) { + if(ev->x >= bgw && ev->x < x) { if(ev->button == Button1) { if(ev->state & MODKEY) tag(tags[i]);