]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
typo
[chaz/openbox] / openbox / client.c
index 0952909c0b3e223869b165e54a122af27383d5d3..8e3252137cff9e3d21f77051a75e0b23b1bd90da 100644 (file)
@@ -278,7 +278,9 @@ void client_manage(Window window)
 
     /* focus the new window? */
     if (ob_state() != OB_STATE_STARTING &&
-        (config_focus_new || client_search_focus_tree_full(self)) &&
+        (config_focus_new || (self->transient_for &&
+                              self->transient_for != OB_TRAN_GROUP &&
+                              client_focused(self->transient_for))) &&
         /* note the check against Type_Normal/Dialog, not client_normal(self),
            which would also include other types. in this case we want more
            strict rules for focus */
This page took 0.022039 seconds and 4 git commands to generate.