mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 01:10:03 +01:00
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> |
||
|---|---|---|
| .. | ||
| kdrive | ||
| vfb | ||
| xfree86 | ||
| xnest | ||
| xquartz | ||
| xwayland | ||
| xwin | ||
| meson.build | ||