dwm-meillo

diff event.c @ 505:2c29d74b11dc

first step to a more flexible dotile() algorithm
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 29 Sep 2006 12:38:27 +0200
parents d5ad819f2a66
children b467b5a749db
line diff
     1.1 --- a/event.c	Thu Sep 28 21:29:20 2006 +0200
     1.2 +++ b/event.c	Fri Sep 29 12:38:27 2006 +0200
     1.3 @@ -176,8 +176,11 @@
     1.4  		else
     1.5  			configure(c);
     1.6  		XSync(dpy, False);
     1.7 -		if(c->isfloat)
     1.8 +		if(c->isfloat) {
     1.9  			resize(c, False, TopLeft);
    1.10 +			if(!isvisible(c))
    1.11 +				ban(c);
    1.12 +		}
    1.13  		else
    1.14  			arrange(NULL);
    1.15  	}