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