about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-11-27 17:46:02 +0100
committerarg@mig29 <unknown>2006-11-27 17:46:02 +0100
commitd2a4952956aa21a48ac40d7f650036682cb9d97d (patch)
tree0488ae9fdce7be3d567d3c2b61602648f17e5f37
parent0c97b21b6120137858f390f061d17f065b41d26e (diff)
downloaddwm-d2a4952956aa21a48ac40d7f650036682cb9d97d.tar.gz
applied Szabolcs Nagy's patch (thank you!)
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index 5c65148..167a1c4 100644
--- a/view.c
+++ b/view.c
@@ -99,7 +99,7 @@ dotile(void) {
 				c->x += mpx;
 				c->w = stackw - 2 * BORDERPX;
 				if(th > bh) {
-					c->y = way + (i - 1) * th;
+					c->y += (i - 1) * th;
 					c->h = th - 2 * BORDERPX;
 				}
 				else /* fallback if th < bh */