From: Anselm R. Garbe <arg@10kloc.org>
Date: Fri, 29 Sep 2006 10:56:01 +0000 (+0200)
Subject: I changed sanders patch to fix the ff issue to be simplier, though it needs testing... 
X-Git-Url: https://git.xinqibao.xyz/dwm.git/commitdiff_plain/b427a2c6cb9c221075e42d0d1007e980a949a7df

I changed sanders patch to fix the ff issue to be simplier, though it needs testing if this really fixes the issue
---

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);