Update titlebar with real floating info now if client is floating

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-18 11:09:18 +01:00
parent 8774c2d85b
commit 279e83ba05
1 changed files with 4 additions and 0 deletions

View File

@ -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 */