e648ef7980
Avoid poking at the event field, and use an explicit parameter. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3153>