summaryrefslogtreecommitdiffstats
path: root/view.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-29 17:25:49 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-29 17:25:49 +0200
commit010fd21b2037923e9ba1f0d67a67bbf8d8da2c89 (patch)
tree17691514c5f13af0ffc951c93cd194979912d9a7 /view.c
parentdocumented the new behavior in man page (diff)
downloaddwm-010fd21b2037923e9ba1f0d67a67bbf8d8da2c89.tar.gz
dwm-010fd21b2037923e9ba1f0d67a67bbf8d8da2c89.zip
removed useless updatemaster
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