[hackers] [dwm] let not overlap the borders

From: Anselm R. Garbe <garbeam_AT_gmail.com>
Date: Fri Aug 10 18:32:18 2007

changeset: 940:8241aba895d8
tag: tip
user: Anselm R. Garbe <garbeam_AT_gmail.com>
date: Fri Aug 10 18:27:25 2007 +0200
summary: let not overlap the borders

diff -r a1ac5930ba2f -r 8241aba895d8 layout.c
--- a/layout.c Fri Aug 10 18:16:05 2007 +0200
+++ b/layout.c Fri Aug 10 18:27:25 2007 +0200
@@ -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
Received on Fri Aug 10 2007 - 18:32:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:48 UTC