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:
parent
49b848a2bb
commit
0908816132
1 changed files with 1 additions and 1 deletions
|
@ -2492,7 +2492,7 @@ ObClient *client_focus_target(ObClient *self)
|
||||||
ObClient *child;
|
ObClient *child;
|
||||||
|
|
||||||
/* if we have a modal child, then focus it, not us */
|
/* 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;
|
if (child) return child;
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue