From 492c6f10fcf9acf74d84eb3fe005ecf2dd42611a Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Mon, 28 May 2007 15:05:47 +0200 Subject: applied Sanders patch --- client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index 040dd15..f3d31cb 100644 --- a/client.c +++ b/client.c @@ -305,8 +305,8 @@ togglefloating(const char *arg) { 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(); } -- cgit v1.2.3