diff options
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -105,7 +105,7 @@ buttonpress(XEvent *e) switch(ev->button) { default: x = 0; - for(a.i = 0; a.i < TLast; a.i++) { + for(a.i = 0; a.i < ntags; a.i++) { x += textw(tags[a.i]); if(ev->x < x) { view(&a); |