dwm-meillo

diff view.c @ 535:13ef0d218c67

hotfix
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 06 Oct 2006 14:01:53 +0200
parents a5567a0d3011
children 3d23384eb5ab
line diff
     1.1 --- a/view.c	Fri Oct 06 13:43:59 2006 +0200
     1.2 +++ b/view.c	Fri Oct 06 14:01:53 2006 +0200
     1.3 @@ -108,7 +108,7 @@
     1.4  	if(n > 1)
     1.5  		th /= (n - 1);
     1.6  
     1.7 -	for(i = 0, c = clients; c; c = c->next, i++)
     1.8 +	for(i = 0, c = clients; c; c = c->next)
     1.9  		if(isvisible(c)) {
    1.10  			if(c->isfloat) {
    1.11  				resize(c, True, TopLeft);
    1.12 @@ -139,6 +139,7 @@
    1.13  					c->h = stackh - 2 * BORDERPX;
    1.14  			}
    1.15  			resize(c, False, TopLeft);
    1.16 +			i++;
    1.17  		}
    1.18  		else
    1.19  			ban(c);