experimental version which allows master clients being increased/decreased

This commit is contained in:
Anselm R. Garbe
2007-01-05 12:50:39 +01:00
parent d7ec23a5db
commit 0b80d1842d
6 changed files with 45 additions and 25 deletions

3
main.c
View File

@ -20,7 +20,7 @@
char stext[1024];
Bool *seltag;
int bx, by, bw, bh, bmw, masterd, screen, sx, sy, sw, sh, wax, way, waw, wah;
unsigned int master, ntags, numlockmask;
unsigned int master, nmaster, ntags, numlockmask;
Atom wmatom[WMLast], netatom[NetLast];
Bool running = True;
Bool issel = True;
@ -133,6 +133,7 @@ setup(void) {
sw = DisplayWidth(dpy, screen);
sh = DisplayHeight(dpy, screen);
master = MASTER;
nmaster = NMASTER;
/* bar */
bx = sx;
by = sy;