author | Anselm R. Garbe <arg@10kloc.org> |
Fri, 06 Oct 2006 14:01:53 +0200 | |
changeset 535 | 13ef0d218c67 |
parent 534 | 3daef7425637 |
child 536 | d5aa5a4be560 |
--- a/view.c Fri Oct 06 13:43:59 2006 +0200 +++ b/view.c Fri Oct 06 14:01:53 2006 +0200 @@ -108,7 +108,7 @@ 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 @@ c->h = stackh - 2 * BORDERPX; } resize(c, False, TopLeft); + i++; } else ban(c);