summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-26 19:05:06 +0000
committerDana Jansens <danakj@orodu.net>2003-09-26 19:05:06 +0000
commit0908816132ba2990c284696851566aae80a4ee01 (patch)
tree9553bf08409c778292d5ef45f039144e5ac9b583
parent49b848a2bbb4c9c72888da94cd069e3562f9640b (diff)
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
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
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;
}