let not overlap the borders
authorAnselm R. Garbe <garbeam@gmail.com>
Fri, 10 Aug 2007 18:27:25 +0200
changeset 940 8241aba895d8
parent 939 a1ac5930ba2f
child 941 8c93b982f22e
let not overlap the borders
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 @@
 			}
 			resize(c, nx, ny, nw, nh, False);
 			if(n > 1 && th != wah)
-				ny += nh;
+				ny += nh + 2 * c->border;
 			i++;
 		}
 		else