Avoids using the macro & global variable Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3857>