JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
hotfix
authorAnselm R. Garbe <arg@10kloc.org>
Fri, 6 Oct 2006 12:01:53 +0000 (14:01 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Fri, 6 Oct 2006 12:01:53 +0000 (14:01 +0200)
view.c

diff --git a/view.c b/view.c
index ac1728b..daf0711 100644 (file)
--- 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);