From: Dana Jansens Date: Fri, 26 Sep 2003 19:05:06 +0000 (+0000) Subject: when looking for the focus target, search for modal children in the entire transient... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=0908816132ba2990c284696851566aae80a4ee01;p=chaz%2Fopenbox when looking for the focus target, search for modal children in the entire transient tree, not just children of the client on which focus is requested --- diff --git a/openbox/client.c b/openbox/client.c index bc218af0..c7d03a82 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2492,7 +2492,7 @@ ObClient *client_focus_target(ObClient *self) ObClient *child; /* if we have a modal child, then focus it, not us */ - child = client_search_modal_child(self); + child = client_search_modal_child(client_search_top_transient(self)); if (child) return child; return self; }