VOOZH about

URL: https://www.phoronix.com/news/XWayland-Pointer-Enter-Correct

⇱ XWayland Gets Patched For Incorrect Pointer Coordinates - Phoronix


👁 Phoronix

XWayland Gets Patched For Incorrect Pointer Coordinates

Written by Michael Larabel in X.Org on 30 December 2025 at 06:40 AM EST. 43 Comments
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.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.