X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=main.c;h=9ea09bff66f6787ae91b06c24655bf472af4e06d;hp=33a2a9a0227a36fb922159a8764ed3995a3742f2;hb=b35575574be53a1b3be42d7037d2f432a19a3890;hpb=666b4563a0064dd7aa27159813124837d306f81c diff --git a/main.c b/main.c index 33a2a9a..9ea09bf 100644 --- a/main.c +++ b/main.c @@ -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);