
Commit d48129f5ee broke the displaying of our own drag cursor during window drags, as now the window cursor is always used, even during stage grabs (window grabs are just a kind of stage grab). To fix it, while not regressing on the intention of the other commit, unset the MetaWaylandPointer surface in case a window drag is active (instead of all kinds of grabs) by checking via meta_display_is_grab(). Fixes: d48129f5ee ("wayland: Fix pointer cursor during Wayland grabs") Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3316 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3624>