JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
first step to a more flexible dotile() algorithm
[dwm.git] / event.c
diff --git a/event.c b/event.c
index 2df3821..83e1b86 100644 (file)
--- 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);
        }