client.c
changeset 903 467c754b607d
parent 902 e1ca8a59820a
child 904 2dfd50e4cfde
--- a/client.c	Fri May 25 15:28:10 2007 +0200
+++ b/client.c	Mon May 28 15:05:47 2007 +0200
@@ -305,8 +305,8 @@
 	if(!sel || lt->arrange == floating)
 		return;
 	sel->isfloating = !sel->isfloating;
-	if(sel->isfloating && sel->isfixed)
-		resize(sel, sel->x, sel->y, sel->minw, sel->minh, True);
+	if(sel->isfloating)
+		resize(sel, sel->x, sel->y, sel->w, sel->h, True);
 	lt->arrange();
 }