X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=main.c;h=488ebc15356c5ff26a7d20640d736a597fb5d9fc;hb=ad0da9a571ecbdfa8fe0a397185b314f5654f094;hp=a1fdde160d7a51b35def71ff063805cc3244d1c8;hpb=14d05e7c725a4a07136ceb123cf760272afc1a87;p=dwm.git diff --git a/main.c b/main.c index a1fdde1..488ebc1 100644 --- a/main.c +++ b/main.c @@ -133,7 +133,7 @@ setup(void) { sx = sy = 0; sw = DisplayWidth(dpy, screen); sh = DisplayHeight(dpy, screen); - master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100; + updatemaster(); bx = by = 0; bw = sw;