X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=main.c;h=488ebc15356c5ff26a7d20640d736a597fb5d9fc;hp=a1fdde160d7a51b35def71ff063805cc3244d1c8;hb=fee8df6ccf3ab1494421d422af252f7b3da3a811;hpb=8fa47ac679cfd91c022a35f2469bea7396e5f7c7 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;