a7b8f06196
This piece of event handling only applies on windows receiving events while the display is ungrabbed (i.e. for raising it, or beginning a move/resize operation). Move the checks on the current grab operation outside of window.c and into events.c, so all checks about the current grab operation move closer to the main event handler. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683>