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 wrap: on
line diff
--- a/event.c	Thu Sep 28 21:29:20 2006 +0200
+++ b/event.c	Fri Sep 29 12:38:27 2006 +0200
@@ -176,8 +176,11 @@
 		else
 			configure(c);
 		XSync(dpy, False);
-		if(c->isfloat)
+		if(c->isfloat) {
 			resize(c, False, TopLeft);
+			if(!isvisible(c))
+				ban(c);
+		}
 		else
 			arrange(NULL);
 	}