]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
don't focus helper windows that map unless there are no other valid targets in the...
[chaz/openbox] / openbox / client.c
index 015e36f2175a48f31a2f5998a8c1603cde68187d..4383bc7d64028795829c34dca2a70b33b9aa7316 100644 (file)
@@ -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;
     }
This page took 0.025682 seconds and 4 git commands to generate.