JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed useless updatemaster
[dwm.git] / main.c
diff --git a/main.c b/main.c
index 488ebc1..a1fdde1 100644 (file)
--- 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;