X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/f833d109d1a7190344899aee1696bcbcd7b7ee71..010fd21b2037923e9ba1f0d67a67bbf8d8da2c89:/view.c diff --git a/view.c b/view.c index 72e32c7..7c56ac2 100644 --- a/view.c +++ b/view.c @@ -340,13 +340,8 @@ togglestackpos(Arg *arg) { stackpos = STACKPOS; else stackpos = StackBottom; - updatemaster(); - arrange(NULL); -} - -void -updatemaster(void) { master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100; + arrange(NULL); } void