]> git.armaanb.net Git - dwm.git/commitdiff
bugfix
authorAnselm R Garbe <garbeam@gmail.com>
Tue, 25 Mar 2008 09:41:14 +0000 (09:41 +0000)
committerAnselm R Garbe <garbeam@gmail.com>
Tue, 25 Mar 2008 09:41:14 +0000 (09:41 +0000)
dwm.c

diff --git a/dwm.c b/dwm.c
index 212bf3ef1fb8fb65d6f6a886b986dfabb45335ae..37e833e3cafa9a1bf59e588061c83825c1c8e8d1 100644 (file)
--- 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]);