mirror of
https://github.com/brl/mutter.git
synced 2025-02-22 16:04:09 +00:00

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%