From: Dana Jansens Date: Wed, 16 Jan 2008 00:36:36 +0000 (-0500) Subject: remove the visible window title hints when unmanaging a window. not all WMs set... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=ed51baa95808ad0235e30d3c5215deca4b9faa6b;p=chaz%2Fopenbox 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. --- 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();