--- a/event.c Thu Aug 03 11:38:26 2006 +0200
+++ b/event.c Thu Aug 03 12:12:26 2006 +0200
@@ -105,7 +105,7 @@
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);