X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/8fa47ac679cfd91c022a35f2469bea7396e5f7c7..fee8df6ccf3ab1494421d422af252f7b3da3a811:/main.c 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;