--- a/main.c Fri Aug 17 21:10:50 2007 +0200
+++ b/main.c Fri Aug 17 21:12:55 2007 +0200
@@ -21,7 +21,7 @@
unsigned int bpos = BARPOS;
unsigned int numlockmask = 0;
Atom dwmconfig, wmatom[WMLast], netatom[NetLast];
-Bool *seltag;
+Bool *seltags;
Bool selscreen = True;
Client *clients = NULL;
Client *sel = NULL;
@@ -57,7 +57,7 @@
XFreeCursor(dpy, cursor[CurMove]);
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
XSync(dpy, False);
- free(seltag);
+ free(seltags);
}
static unsigned long
@@ -170,8 +170,8 @@
grabkeys();
compileregs();
for(ntags = 0; tags[ntags]; ntags++);
- seltag = emallocz(sizeof(Bool) * ntags);
- seltag[0] = True;
+ seltags = emallocz(sizeof(Bool) * ntags);
+ seltags[0] = True;
/* style */
dc.norm[ColBorder] = initcolor(NORMBORDERCOLOR);
dc.norm[ColBG] = initcolor(NORMBGCOLOR);