From e5af2dcf24884fd5dc876886a531b0655dba6c3e Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 1 Jan 2008 16:56:11 +0100 Subject: [PATCH] fix maximized windows in floating layout --- layouts/floating.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/floating.c b/layouts/floating.c index 04bc2e3cf..dd06c5ce7 100644 --- a/layouts/floating.c +++ b/layouts/floating.c @@ -30,7 +30,7 @@ layout_floating(int screen) Client *c; for(c = globalconf.clients; c; c = c->next) - if(client_isvisible(c, screen)) + if(client_isvisible(c, screen) && !c->ismax) client_resize(c, c->rx, c->ry, c->rw, c->rh, True, False); } // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80