Used in the new screenshot UI. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1899>