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