JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed useless updatemaster
[dwm.git] / view.c
diff --git a/view.c b/view.c
index a3b2029..7c56ac2 100644 (file)
--- a/view.c
+++ b/view.c
@@ -194,7 +194,7 @@ dotile(Arg *arg) {
                                        break;
                                case StackBottom:
                                        c->x = sx;
-                                       c->y = sy + master;
+                                       c->y = sy + master + bh;
                                        break;
                                case StackRight:
                                        c->x = sx + master;
@@ -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