From 279e83ba0551e4d8b2d0bac4664fb465a87ca9e7 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 18 Mar 2008 11:09:18 +0100 Subject: [PATCH] Update titlebar with real floating info now if client is floating Signed-off-by: Julien Danjou --- client.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */