Olivier Fourdan 76d1a64204 core: Be more selective looking for a focusable ancestor
find_focusable_ancestor() may pick an ancestor window which is not
mapped or hidden, and setting focus on that window will fail.

Be a tad more selective when looking for a focusable ancestor, to reduce
the chance of meta_window_focus() not focusing the happy chosen one.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1643>
2020-12-18 17:17:50 +00:00
..
2019-03-12 00:27:07 +00:00
2018-11-06 17:17:36 +01:00
2018-11-06 17:17:36 +01:00
2020-12-01 11:41:11 +00:00