aewl

diff main.c @ 650:f3b8c71a69d4

experimental version which allows master clients being increased/decreased
author Anselm R. Garbe <arg@suckless.org>
date Fri, 05 Jan 2007 12:50:39 +0100
parents 8e6d75c68b69
children 5d79c351e30a
line diff
     1.1 --- a/main.c	Thu Jan 04 16:45:28 2007 +0100
     1.2 +++ b/main.c	Fri Jan 05 12:50:39 2007 +0100
     1.3 @@ -20,7 +20,7 @@
     1.4  char stext[1024];
     1.5  Bool *seltag;
     1.6  int bx, by, bw, bh, bmw, masterd, screen, sx, sy, sw, sh, wax, way, waw, wah;
     1.7 -unsigned int master, ntags, numlockmask;
     1.8 +unsigned int master, nmaster, ntags, numlockmask;
     1.9  Atom wmatom[WMLast], netatom[NetLast];
    1.10  Bool running = True;
    1.11  Bool issel = True;
    1.12 @@ -133,6 +133,7 @@
    1.13  	sw = DisplayWidth(dpy, screen);
    1.14  	sh = DisplayHeight(dpy, screen);
    1.15  	master = MASTER;
    1.16 +	nmaster = NMASTER;
    1.17  	/* bar */
    1.18  	bx = sx;
    1.19  	by = sy;