summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 7cd3a32..a1fdde1 100644
--- a/main.c
+++ b/main.c
@@ -19,7 +19,7 @@
19 19
20char stext[1024]; 20char stext[1024];
21Bool *seltag; 21Bool *seltag;
22int bx, by, bw, bh, bmw, mw, screen, sx, sy, sw, sh; 22int bx, by, bw, bh, bmw, master, screen, sx, sy, sw, sh;
23unsigned int ntags, numlockmask; 23unsigned int ntags, numlockmask;
24Atom wmatom[WMLast], netatom[NetLast]; 24Atom wmatom[WMLast], netatom[NetLast];
25Bool running = True; 25Bool running = True;
@@ -133,7 +133,7 @@ setup(void) {
133 sx = sy = 0; 133 sx = sy = 0;
134 sw = DisplayWidth(dpy, screen); 134 sw = DisplayWidth(dpy, screen);
135 sh = DisplayHeight(dpy, screen); 135 sh = DisplayHeight(dpy, screen);
136 mw = (sw * MASTERW) / 100; 136 master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100;
137 137
138 bx = by = 0; 138 bx = by = 0;
139 bw = sw; 139 bw = sw;