about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-29 12:38:27 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-29 12:38:27 +0200
commit14d05e7c725a4a07136ceb123cf760272afc1a87 (patch)
tree39328e09b357c05afb8951c5aaccaeb844b2b14d /event.c
parenta118a57fe3fd13036f24ebe093a5c329608a0600 (diff)
downloaddwm-14d05e7c725a4a07136ceb123cf760272afc1a87.tar.gz
first step to a more flexible dotile() algorithm
Diffstat (limited to 'event.c')
-rw-r--r--event.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/event.c b/event.c
index 2df3821..83e1b86 100644
--- a/event.c
+++ b/event.c
@@ -176,8 +176,11 @@ configurerequest(XEvent *e) {
 		else
 			configure(c);
 		XSync(dpy, False);
-		if(c->isfloat)
+		if(c->isfloat) {
 			resize(c, False, TopLeft);
+			if(!isvisible(c))
+				ban(c);
+		}
 		else
 			arrange(NULL);
 	}