summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 52c0347..fec7ea8 100644
--- a/main.c
+++ b/main.c
@@ -83,7 +83,7 @@ xerrorstart(Display *dsply, XErrorEvent *ee)
83/* extern */ 83/* extern */
84 84
85char stext[1024]; 85char stext[1024];
86int tsel = DEFTAG; 86Bool *tsel;
87int screen, sx, sy, sw, sh, bx, by, bw, bh, mw; 87int screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
88unsigned int ntags; 88unsigned int ntags;
89Atom wmatom[WMLast], netatom[NetLast]; 89Atom wmatom[WMLast], netatom[NetLast];
@@ -213,6 +213,8 @@ main(int argc, char *argv[])
213 initrregs(); 213 initrregs();
214 214
215 for(ntags = 0; tags[ntags]; ntags++); 215 for(ntags = 0; tags[ntags]; ntags++);
216 tsel = emallocz(sizeof(Bool) * ntags);
217 tsel[DEFTAG] = True;
216 218
217 /* style */ 219 /* style */
218 dc.bg = getcolor(BGCOLOR); 220 dc.bg = getcolor(BGCOLOR);