Closes https://gitlab.gnome.org/GNOME/mutter/-/issues/752 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3482>