JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
let not overlap the borders
[dwm.git] / layout.c
index 0002397..eb64a33 100644 (file)
--- a/layout.c
+++ b/layout.c
@@ -175,7 +175,7 @@ tile(const char *arg) {
                        }
                        resize(c, nx, ny, nw, nh, False);
                        if(n > 1 && th != wah)
-                               ny += nh;
+                               ny += nh + 2 * c->border;
                        i++;
                }
                else