aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-05 12:50:39 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-05 12:50:39 +0100
commit0b80d1842d1c921a8a94c11fd9222dad9311cc97 (patch)
treeaadfdc5b88d211e21fcc1be93f2716dee4370abb /main.c
parentd7ec23a5db32eb00ee90e60bef35010639498cab (diff)
downloaddwm-0b80d1842d1c921a8a94c11fd9222dad9311cc97.tar.gz
experimental version which allows master clients being increased/decreased
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 47749fe..da209a9 100644
--- a/main.c
+++ b/main.c
@@ -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;
remember that computers suck.