diff options
| author | arg@10ksloc.org <unknown> | 2006-08-03 12:12:26 +0200 |
|---|---|---|
| committer | arg@10ksloc.org <unknown> | 2006-08-03 12:12:26 +0200 |
| commit | b35575574be53a1b3be42d7037d2f432a19a3890 (patch) | |
| tree | 6be2344c68ec6590fa816bbd578e0f36fe21c0b8 /event.c | |
| parent | hotfix of settags (diff) | |
| download | dwm-b35575574be53a1b3be42d7037d2f432a19a3890.tar.gz dwm-b35575574be53a1b3be42d7037d2f432a19a3890.zip | |
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
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); |
