about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-29 17:33:27 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-29 17:33:27 +0200
commit6828fba7a002062dd383f83bb8d584a82fc7677a (patch)
tree9f5a7e2c712a485f8b954de115799036922039d6
parentaa1bda81646e9d6188fd584009be0eee619f6966 (diff)
downloaddwm-6828fba7a002062dd383f83bb8d584a82fc7677a.tar.gz
fixed
-rw-r--r--event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/event.c b/event.c
index 0f74478..a1d2d9c 100644
--- a/event.c
+++ b/event.c
@@ -196,7 +196,9 @@ configurerequest(XEvent *e)
 			XSendEvent(dpy, c->win, True, NoEventMask, &synev);
 		}
 		XSync(dpy, False);
-		if(c->isfloat || c->ismax) {
+		if(c->isfloat)
+			resize(c, False, TopLeft);
+		else if(c->ismax) {
 			resize(c, False, TopLeft);
 			c->x = ox;
 			c->y = oy;