commit 0c71b16b9282562ee59f73f215c6ba827df25927
parent 00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1
Author: Anselm R Garbe <garbeam@gmail.com>
Date: Tue, 25 Mar 2008 09:41:14 +0000
bugfix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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]);