aewl

diff client.c @ 114:dfa5cd0969a6

implemented regexp matching for rules
author arg@10ksloc.org
date Wed, 19 Jul 2006 17:42:08 +0200
parents b2445fd41f5e
children 329fd7dae530
line diff
     1.1 --- a/client.c	Wed Jul 19 16:38:39 2006 +0200
     1.2 +++ b/client.c	Wed Jul 19 17:42:08 2006 +0200
     1.3 @@ -247,8 +247,9 @@
     1.4  			GrabModeAsync, GrabModeSync, None, None);
     1.5  
     1.6  	if(!c->isfloat)
     1.7 -		c->isfloat = trans
     1.8 -			|| ((c->maxw == c->minw) && (c->maxh == c->minh));
     1.9 +		c->isfloat = trans || (c->maxw && c->minw &&
    1.10 +				(c->maxw == c->minw) && (c->maxh == c->minh));
    1.11 +
    1.12  
    1.13  	setgeom(c);
    1.14  	settitle(c);