X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fclient.c;h=5e4e52e748ca8b73f53c9d53af4dea710cebf155;hb=2b5d4b69974aba63f0c22cd5e4b91c456cd70f68;hp=1e2040fd077b1cd13cb17f0b0e615cee64ddc06e;hpb=9e9a7e124d1a80579281c5ab2ffc3574f38f9eba;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index 1e2040fd..5e4e52e7 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -450,6 +450,8 @@ void client_manage(Window window) g_free(monitor); monitor = NULL; + ob_debug_type(OB_DEBUG_FOCUS, "Going to try activate new window? %s\n", + activate ? "yes" : "no"); if (activate) { gboolean raise = FALSE; @@ -760,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();