75856043d4
This is what the old COMPOSITOR_GRAB check effectively did (by returning the grab_window, which is only set during window grab operations). Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2436>