[client] Fix placement for maximized apps
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
40eaa6b997
commit
5a062eb0d3
2
client.c
2
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);
|
||||
|
|
Loading…
Reference in New Issue