Update titlebar with real floating info now if client is floating
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
8774c2d85b
commit
279e83ba05
4
client.c
4
client.c
|
@ -390,6 +390,10 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
|
||||||
if(!retloadprops && !(flags & (USPosition | PPosition)))
|
if(!retloadprops && !(flags & (USPosition | PPosition)))
|
||||||
c->f_geometry = globalconf.screens[c->screen].floating_placement(c);
|
c->f_geometry = globalconf.screens[c->screen].floating_placement(c);
|
||||||
|
|
||||||
|
/* update titlebar with real floating info now */
|
||||||
|
if(c->isfloating)
|
||||||
|
titlebar_update_geometry_floating(c);
|
||||||
|
|
||||||
XSelectInput(globalconf.display, w, StructureNotifyMask | PropertyChangeMask | EnterWindowMask);
|
XSelectInput(globalconf.display, w, StructureNotifyMask | PropertyChangeMask | EnterWindowMask);
|
||||||
|
|
||||||
/* handle xshape */
|
/* handle xshape */
|
||||||
|
|
Loading…
Reference in New Issue