X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/f833d109d1a7190344899aee1696bcbcd7b7ee71..dddd58a8cdc9ffd9f207c45316e9f9a28b4bf519:/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