dwm-meillo

diff client.c @ 549:fd1061442711

applied sanders try2 patch
author arg@mig29
date Fri, 27 Oct 2006 13:28:26 +0200
parents 3d23384eb5ab
children 787f6ae02f29
line diff
     1.1 --- a/client.c	Fri Oct 27 12:05:47 2006 +0200
     1.2 +++ b/client.c	Fri Oct 27 13:28:26 2006 +0200
     1.3 @@ -209,6 +209,8 @@
     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 @@ -232,9 +234,7 @@
    1.13  	updatetitle(c);
    1.14  	settags(c, getclient(trans));
    1.15  	if(!c->isfloat)
    1.16 -		c->isfloat = trans
    1.17 -			|| (c->maxw && c->minw && c->maxh && c->minh &&
    1.18 -				c->maxw == c->minw && c->maxh == c->minh);
    1.19 +		c->isfloat = trans || c->isfixed;
    1.20  	resizetitle(c);
    1.21  	if(clients)
    1.22  		clients->prev = c;