xserver/hw
Liu Heng 7fb5e00ad8 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>
2025-12-16 10:51:34 +08:00
..
kdrive Revert "os: unexport Os*() functions" 2025-07-20 12:41:06 -07:00
vfb Revert "os: unexport Os*() functions" 2025-07-20 12:41:06 -07:00
xfree86 Fix mach64 driver crash 2025-10-25 20:34:53 +00:00
xnest Revert "dix: unexport NewCurrentScreen()" 2025-09-06 17:01:37 +00:00
xquartz Revert "dix: unexport dixLookupProperty()" 2025-11-17 21:33:26 +01:00
xwayland xwayland: Fix incorrect pointer coordinates in enter events 2025-12-16 10:51:34 +08:00
xwin Strip trailing whitespace from source files 2025-10-05 11:56:48 -07:00
meson.build meson.build: print a summary of the DDX to build 2025-03-24 03:05:35 +00:00