about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-10-06 14:01:53 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-10-06 14:01:53 +0200
commitce9a9934ec7f58398cc62f2653fcccae5fec1853 (patch)
treea8b0ad52b7d8d5963a24bbff6de7f7dbb87dd6f1
parent720b2abe17f13b5822fcfd5ecbca3d20ad982ce7 (diff)
downloaddwm-ce9a9934ec7f58398cc62f2653fcccae5fec1853.tar.gz
hotfix
-rw-r--r--view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/view.c b/view.c
index ac1728b..daf0711 100644
--- a/view.c
+++ b/view.c
@@ -108,7 +108,7 @@ dotile(void) {
 	if(n > 1)
 		th /= (n - 1);
 
-	for(i = 0, c = clients; c; c = c->next, i++)
+	for(i = 0, c = clients; c; c = c->next)
 		if(isvisible(c)) {
 			if(c->isfloat) {
 				resize(c, True, TopLeft);
@@ -139,6 +139,7 @@ dotile(void) {
 					c->h = stackh - 2 * BORDERPX;
 			}
 			resize(c, False, TopLeft);
+			i++;
 		}
 		else
 			ban(c);