An important fix has made it into the X.Org Server XWayland codebase ahead of the new year. XWayland has been fixed to avoid sending incorrect pointer coordinates to X11 clients on pointer enter events.
A fix was merged recently to the XWayland code to avoid sending incorrect pointer coordinates to X11 clients on pointer enter events, namely around the cursor/input returning to an XWayland window. The patch now ensures that the pointer sprite coordinates are correctly updated when the pointer enters an XWayland window.
The fix came via this merge. The fix was merged last week but alas FreeDesktop.org GitLab/Gitweb RSS issues.
The developer responsible for the fix noted in a bug ticket issues around pointer enter events when a fullscreen X client starts up behind a lock screen and overlapping XWayland / Wayland windows and has been working to help address those gaps. The original bug report ticket is a seven month old bug report by KDE developer Xaver Hugl around XWayland X11 windows sometimes getting pointer focus events even after a Wayland pointer leave event.
