JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
prelim of dotile()
[dwm.git] / event.c
diff --git a/event.c b/event.c
index 2df3821..f4ac2d5 100644 (file)
--- a/event.c
+++ b/event.c
@@ -176,8 +176,10 @@ configurerequest(XEvent *e) {
                else
                        configure(c);
                XSync(dpy, False);
-               if(c->isfloat)
-                       resize(c, False, TopLeft);
+               if(c->isfloat) {
+                       if(isvisible(c))
+                               resize(c, False, TopLeft);
+               }
                else
                        arrange(NULL);
        }