527cc51665
Without input device grabs in play, all functions that emit pointer/key/crossing/touch events are pretty much the same. Remove this duplication and use a common emit_event() function. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2100>