summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 488ebc1..a1fdde1 100644
--- a/main.c
+++ b/main.c
@@ -133,7 +133,7 @@ setup(void) {
sx = sy = 0;
sw = DisplayWidth(dpy, screen);
sh = DisplayHeight(dpy, screen);
- updatemaster();
+ master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100;
bx = by = 0;
bw = sw;