[placement] Resize client with new floating geometry
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ae096824d6
commit
e3b057cf21
4
client.c
4
client.c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue