summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-15 19:36:36 -0500
committerMikael Magnusson <mikachu@comhem.se>2008-01-16 02:08:42 +0100
commited51baa95808ad0235e30d3c5215deca4b9faa6b (patch)
tree5aaf5d92144b13e3e0ccd415ef385c165b42a745
parent28971b82f58e65348829f8aba34b4627cd375a1b (diff)
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.
-rw-r--r--openbox/client.c5
1 files changed, 5 insertions, 0 deletions
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();