aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-10 18:27:25 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-10 18:27:25 +0200
commitb5eea45a316a897632578a74c909aa336557b1d6 (patch)
treec46292b2058641c3e2d4d6c36387ef605d625324
parentaa53e39ec0eb39949c5c03d56da08204d14d9ff9 (diff)
downloaddwm-b5eea45a316a897632578a74c909aa336557b1d6.tar.zst
let not overlap the borders
-rw-r--r--layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout.c b/layout.c
index 0002397..eb64a33 100644
--- 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