This is a bit untidy to expose, however may be necessary internally. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1186