From caa7ab536224b0bf4dcd2790a51ead6b7a6cf119 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Fri, 25 May 2007 15:28:10 +0200 Subject: [PATCH] applied anydots proposal to let togglefloating restore fixed windows --- client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.c b/client.c index cf3a686..040dd15 100644 --- a/client.c +++ b/client.c @@ -305,6 +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); lt->arrange(); } -- 1.7.10.4