From 0908816132ba2990c284696851566aae80a4ee01 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 26 Sep 2003 19:05:06 +0000 Subject: [PATCH] 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 --- openbox/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.44.0