changeset 385:37706ba7d492

fixed
author Anselm R. Garbe <arg@10kloc.org>
date Tue, 29 Aug 2006 17:33:27 +0200 (2006-08-29)
parents 126e78129f1d
children 58288246d16c
files event.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/event.c	Tue Aug 29 17:31:55 2006 +0200
+++ b/event.c	Tue Aug 29 17:33:27 2006 +0200
@@ -196,7 +196,9 @@
 			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;