[placement] Resize client with new floating geometry

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-04-03 09:04:18 +02:00
parent ae096824d6
commit e3b057cf21
1 changed files with 4 additions and 0 deletions

View File

@ -393,7 +393,11 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
titlebar_init(c);
if(!retloadprops && !(flags & (USPosition | PPosition)))
{
c->f_geometry = globalconf.screens[c->screen].floating_placement(c);
if(c->isfloating)
client_resize(c, c->f_geometry, False);
}
/* update titlebar with real floating info now */
if(c->isfloating)