From c412b05b3c9f265be04f916b57cf281976bf5718 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 16 Nov 2007 19:14:08 +0100 Subject: [PATCH] small fix for maximize() in floating layout --- layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout.c b/layout.c index 07940bb9..99569375 100644 --- a/layout.c +++ b/layout.c @@ -240,7 +240,7 @@ maximize(int x, int y, int w, int h, awesome_config *awesomeconf) { sel->wasfloating = sel->isfloating; sel->isfloating = True; - client_resize(sel, x, y, w, h, awesomeconf, True, True); + client_resize(sel, x, y, w, h, awesomeconf, True, !sel->isfloating); } else if(sel->wasfloating) client_resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, awesomeconf, True, False); -- 2.11.4.GIT