changeset 353 | 8a06efe5b563 |
parent 318 | 1b45d6f14fca |
child 356 | c2a65784cb71 |
--- a/event.c Fri Aug 25 07:54:49 2006 +0200 +++ b/event.c Fri Aug 25 12:59:45 2006 +0200 @@ -105,7 +105,9 @@ XButtonPressedEvent *ev = &e->xbutton; if(barwin == ev->window) { - x = 0; + if(ev->x < modew) + return; + x = modew; for(a.i = 0; a.i < ntags; a.i++) { x += textw(tags[a.i]); if(ev->x < x) {