Use the misnamed but equivalent Clutter function. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/317