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

This commit is contained in:
Dana Jansens 2003-09-26 19:05:06 +00:00
parent 49b848a2bb
commit 0908816132

View file

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