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.

This commit is contained in:
Dana Jansens 2008-01-15 19:36:36 -05:00 committed by Mikael Magnusson
parent 28971b82f5
commit ed51baa958

View file

@ -762,6 +762,11 @@ void client_unmanage(ObClient *self)
XMapWindow(ob_display, self->window); 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 */ /* update the list hints */
client_set_list(); client_set_list();