summaryrefslogtreecommitdiffstats
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c7
1 files changed, 1 insertions, 6 deletions
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) {
340 stackpos = STACKPOS; 340 stackpos = STACKPOS;
341 else 341 else
342 stackpos = StackBottom; 342 stackpos = StackBottom;
343 updatemaster();
344 arrange(NULL);
345}
346
347void
348updatemaster(void) {
349 master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100; 343 master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100;
344 arrange(NULL);
350} 345}
351 346
352void 347void