From 5a062eb0d37f8c7143021acbecc9bfcfe2da05b9 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 8 Apr 2008 15:40:33 +0200 Subject: [PATCH] [client] Fix placement for maximized apps Signed-off-by: Julien Danjou --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index 16a48e72..75c3c85c 100644 --- a/client.c +++ b/client.c @@ -390,7 +390,7 @@ client_manage(Window w, XWindowAttributes *wa, int screen) if(!retloadprops && !(flags & (USPosition | PPosition))) { - if(c->isfloating) + if(c->isfloating && !c->ismax) client_resize(c, globalconf.screens[c->screen].floating_placement(c), False); else c->f_geometry = globalconf.screens[c->screen].floating_placement(c);