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