Avoid accessing the event for this information. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3153>