aewl

diff client.c @ 550:787f6ae02f29

and another fix
author arg@mig29
date Fri, 27 Oct 2006 13:29:35 +0200
parents fd1061442711
children 601842ee4484
line diff
     1.1 --- a/client.c	Fri Oct 27 13:28:26 2006 +0200
     1.2 +++ b/client.c	Fri Oct 27 13:29:35 2006 +0200
     1.3 @@ -209,8 +209,6 @@
     1.4  	c->h = wa->height;
     1.5  	c->th = bh;
     1.6  	updatesize(c);
     1.7 -	c->isfixed = (c->maxw && c->minw && c->maxh && c->minh &&
     1.8 -				c->maxw == c->minw && c->maxh == c->minh);
     1.9  	if(c->x + c->w + 2 * BORDERPX > sw)
    1.10  		c->x = sw - c->w - 2 * BORDERPX;
    1.11  	if(c->x < sx)
    1.12 @@ -341,6 +339,8 @@
    1.13  	}
    1.14  	else
    1.15  		c->minw = c->minh = 0;
    1.16 +	c->isfixed = (c->maxw && c->minw && c->maxh && c->minh &&
    1.17 +				c->maxw == c->minw && c->maxh == c->minh);
    1.18  	if(c->flags & PWinGravity)
    1.19  		c->grav = size.win_gravity;
    1.20  	else