Commit 8fcc4ff

Anselm R. Garbe <garbeam@gmail.com>
2007-08-14 13:38:10
fix of resize (thanks Sander for the hint!)
1 parent f251224
Changed files (1)
client.c
@@ -272,9 +272,9 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
 			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;