When moving mouse cursor into X app from Wayland desktop (Fedora 38) mouse cursor does not switch to correct form
Affected version
Mutter 44.3 under Fedora 38 and Gnome Shell 44.3, using Wayland.
(Don't know if correctly identified Mutter as the correct location but it appears to be. Perhaps actually Gnome Shell?)
Bug summary
When one moves the mouse from somewhere else into an XWayland app, the cursor changes to the form used to resize the window (as it crosses the window edge) but does not change back to a regular arrow pointer once it enters the window.
Seems to happen with any X app running in XWayland.
Steps to reproduce
(1) Just run regular gnome shell, (2) start up an app running under XWayland, (3) and sometimes one other window also needed (4) and move the mouse cursor into XWayland window
What happened
Cursor changes first to the form used to indicate window is being resized (the exact form depending upon the direction of entry) and retains that form after the window is completely entered.
The cursor can be reset as far as I can tell only by moving into the title bar and performing an action such as maximizing then restoring. That is how I got the correct cursor in the first image below.
What did you expect to happen
Switch the cursor back to the default form.
Relevant logs, screenshots, screencasts etc.
What we see:
What we should see: