X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=view.c;h=daf07114dde297613ab6899cc22e3c97e0890fa2;hb=d7734f996ff2eae29fea14af76711d7f51648c10;hp=ac1728b8b8f3dbdac7bb3bd56e6b87f4da409ec9;hpb=5983c00b9508d48331b2c57f2c88ea09a8feb291;p=dwm.git 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);