This commit is contained in:
Anselm R Garbe 2008-03-25 09:41:14 +00:00
parent 00c28a7ef2
commit 0c71b16b92

2
dwm.c
View file

@ -330,7 +330,7 @@ buttonpress(XEvent *e) {
x = bgw; x = bgw;
for(i = 0; i < LENGTH(tags); i++) { for(i = 0; i < LENGTH(tags); i++) {
x += textw(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->button == Button1) {
if(ev->state & MODKEY) if(ev->state & MODKEY)
tag(tags[i]); tag(tags[i]);