diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-17 21:12:55 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-17 21:12:55 +0200 |
commit | 86953bd68249662b5d7a9ae6741744ab8bf30aa1 (patch) | |
tree | 98c85514384af2397996289c67ea53f52742a87e /main.c | |
parent | a923298d3577dca0e69fd70edbef56c7822258e3 (diff) |
renamed seltag into seltags
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -21,7 +21,7 @@ unsigned int bh, ntags; 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 @@ cleanup(void) { XFreeCursor(dpy, cursor[CurMove]); XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); XSync(dpy, False); - free(seltag); + free(seltags); } static unsigned long @@ -170,8 +170,8 @@ setup(void) { 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); |