xserver/hw
Liu Heng b4c5796e4b xwayland: Fix incorrect pointer coordinates in enter events
Xwayland was sending incorrect pointer coordinates to X clients on
pointer enter events.

This was caused by calling CheckMotion() with a NULL event, which
prevented the pointer sprite hot coordinates from being updated
properly.

Fix this by constructing a proper DeviceEvent of type ET_Enter in
pointer_handle_enter, initializing it with the current timestamp
and EVENT_SOURCE_FOCUS, and passing it to CheckMotion() instead
of NULL.

This ensures the pointer sprite coordinates are correctly updated
when the pointer enters a window.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2113>
(cherry picked from commit 7fb5e00ad8)
2026-01-25 10:40:03 -08:00
..
kdrive Xephyr.man: Use \- to get ASCII hyphens instead of Unicode dashes 2026-01-25 10:40:01 -08:00
vfb man pages: remove extraneous PP macros 2026-01-25 10:40:01 -08:00
xfree86 Fix mach64 driver crash 2026-01-25 10:40:03 -08:00
xnest Xnest: use authorative declarations from X11/XKBlib.h 2026-01-25 10:40:01 -08:00
xquartz Strip trailing whitespace from source files 2026-01-25 10:40:02 -08:00
xwayland xwayland: Fix incorrect pointer coordinates in enter events 2026-01-25 10:40:03 -08:00
xwin Strip trailing whitespace from source files 2026-01-25 10:40:02 -08:00
meson.build meson.build: print a summary of the DDX to build 2026-01-25 10:40:01 -08:00