all repos — openbox @ 0908816132ba2990c284696851566aae80a4ee01

openbox fork - make it a bit more like ryudo

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
Dana Jansens danakj@orodu.net
commit

0908816132ba2990c284696851566aae80a4ee01

parent

49b848a2bbb4c9c72888da94cd069e3562f9640b

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -2492,7 +2492,7 @@ {

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; }