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 /main.c | |
parent | 666b4563a0064dd7aa27159813124837d306f81c (diff) | |
download | dwm-b35575574be53a1b3be42d7037d2f432a19a3890.tar.gz |
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 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -85,6 +85,7 @@ xerrorstart(Display *dsply, XErrorEvent *ee) char stext[1024]; int tsel = DEFTAG; int screen, sx, sy, sw, sh, bx, by, bw, bh, mw; +unsigned int ntags; Atom wmatom[WMLast], netatom[NetLast]; Bool running = True; Bool issel = True; @@ -210,6 +211,8 @@ main(int argc, char *argv[]) grabkeys(); + for(ntags = 0; tags[ntags]; ntags++); + /* style */ dc.bg = getcolor(BGCOLOR); dc.fg = getcolor(FGCOLOR); |