[client] Fix placement for maximized apps

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-04-08 15:40:33 +02:00
parent 40eaa6b997
commit 5a062eb0d3
1 changed files with 1 additions and 1 deletions

View File

@ -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);