about summary refs log tree commit diff stats
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) {
 		stackpos = STACKPOS;
 	else
 		stackpos = StackBottom;
-	updatemaster();
-	arrange(NULL);
-}
-
-void
-updatemaster(void) {
 	master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100;
+	arrange(NULL);
 }
 
 void