b07994b606
This is what it was effectively used for in these places, so use the appropriate API instead. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1514>