dwm-meillo
diff event.c @ 178:e848966a1ac6
removed TLast tag enum, now tags is simple defined as char *[] array, the rest is calculated correctly, rules take an int array for the tags
author | arg@10ksloc.org |
---|---|
date | Thu, 03 Aug 2006 12:12:26 +0200 |
parents | 21071ae1fe68 |
children | 97960220eb77 |
line diff
1.1 --- a/event.c Thu Aug 03 11:38:26 2006 +0200 1.2 +++ b/event.c Thu Aug 03 12:12:26 2006 +0200 1.3 @@ -105,7 +105,7 @@ 1.4 switch(ev->button) { 1.5 default: 1.6 x = 0; 1.7 - for(a.i = 0; a.i < TLast; a.i++) { 1.8 + for(a.i = 0; a.i < ntags; a.i++) { 1.9 x += textw(tags[a.i]); 1.10 if(ev->x < x) { 1.11 view(&a);