let not overlap the borders
authorAnselm R. Garbe <garbeam@gmail.com>
Fri, 10 Aug 2007 16:27:25 +0000 (18:27 +0200)
committerAnselm R. Garbe <garbeam@gmail.com>
Fri, 10 Aug 2007 16:27:25 +0000 (18:27 +0200)
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