aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-03-25 09:41:14 +0000
committerAnselm R Garbe <garbeam@gmail.com>2008-03-25 09:41:14 +0000
commit0c71b16b9282562ee59f73f215c6ba827df25927 (patch)
tree9683901357619382ba05672e8bdc9cf35b547e44
parent00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1 (diff)
downloaddwm-0c71b16b9282562ee59f73f215c6ba827df25927.tar.gz
bugfix
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
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]);
remember that computers suck.