X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=4383bc7d64028795829c34dca2a70b33b9aa7316;hb=0d0ce065df9ff1acc06fe63e4a0fe45c184de693;hp=015e36f2175a48f31a2f5998a8c1603cde68187d;hpb=b3d26fdb20e5a939210265ecdf8e5b51340991c6;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index 015e36f2..4383bc7d 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -274,6 +274,9 @@ void client_manage(Window window) /* get all the stuff off the window */ client_get_all(self, TRUE); + ob_debug("Window type: %d\n", self->type); + ob_debug("Window group: 0x%x\n", self->group?self->group->leader:0); + /* specify that if we exit, the window should not be destroyed and should be reparented back to root automatically */ XChangeSaveSet(ob_display, window, SetModeInsert); @@ -320,7 +323,7 @@ void client_manage(Window window) client_search_focus_tree_full(self)) && /* this checks for focus=false for the window */ (!settings || settings->focus != 0) && - focus_valid_target(self, FALSE, TRUE, FALSE, FALSE)) + focus_valid_target(self, FALSE, FALSE, TRUE, FALSE, FALSE)) { activate = TRUE; }