about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/event.c b/event.c
index f4ac2d5..83e1b86 100644
--- a/event.c
+++ b/event.c
@@ -177,8 +177,9 @@ configurerequest(XEvent *e) {
 			configure(c);
 		XSync(dpy, False);
 		if(c->isfloat) {
-			if(isvisible(c))
-				resize(c, False, TopLeft);
+			resize(c, False, TopLeft);
+			if(!isvisible(c))
+				ban(c);
 		}
 		else
 			arrange(NULL);