From ed51baa95808ad0235e30d3c5215deca4b9faa6b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 15 Jan 2008 19:36:36 -0500 Subject: [PATCH] remove the visible window title hints when unmanaging a window. not all WMs set those and it messes them up, and we'll set them again appropriately, they don't need to be saved. --- openbox/client.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openbox/client.c b/openbox/client.c index 22eb8403..5e4e52e7 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -762,6 +762,11 @@ void client_unmanage(ObClient *self) XMapWindow(ob_display, self->window); } + /* these should not be left on the window ever. other window managers + don't necessarily use them and it will mess them up (like compiz) */ + PROP_ERASE(self->window, net_wm_visible_name); + PROP_ERASE(self->window, net_wm_visible_icon_name); + /* update the list hints */ client_set_list(); -- 2.45.2