mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 09:29:25 +00:00
Marco Trevisan (Treviño)
68691cb1b9
workspace: Focus only ancestors that are focusable
When destroying a window that has a parent, we initially try to focus one of its ancestors. However if no ancestor can be focused, then we should instead focus the default focus window instead of trying to request focus for a window that can't get focus anyways. Fixes https://gitlab.gnome.org/GNOME/mutter/issues/308 (cherry picked from commit eccc791f3b3451216f957e67fec47a73b65ed2b2)
…
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%