diff --git a/client.c b/client.c index 285d15173..d5822090d 100644 --- a/client.c +++ b/client.c @@ -390,6 +390,10 @@ client_manage(Window w, XWindowAttributes *wa, int screen) if(!retloadprops && !(flags & (USPosition | PPosition))) 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); /* handle xshape */