fix of resize (thanks Sander for the hint!)
authorAnselm R. Garbe <garbeam@gmail.com>
Tue, 14 Aug 2007 19:38:10 +0200
changeset 952 4f66942cc63b
parent 951 3a0407d4b95b
child 953 d7de5c7bdbe4
fix of resize (thanks Sander for the hint!)
client.c
--- a/client.c	Tue Aug 14 07:54:51 2007 +0200
+++ b/client.c	Tue Aug 14 19:38:10 2007 +0200
@@ -272,9 +272,9 @@
 			w -= (w - c->basew) % c->incw;
 		if(c->inch)
 			h -= (h - c->baseh) % c->inch;
-		if(w <= 0 || h <= 0)
-			return;
 	}
+	if(w <= 0 || h <= 0)
+		return;
 	/* offscreen appearance fixes */
 	if(x > sw)
 		x = sw - w - 2 * c->border;