x11drv: Only warp the mouse pointer if it has actually moved.
diff --git a/dlls/x11drv/mouse.c b/dlls/x11drv/mouse.c
index f2123c0..43b0fb4 100644
--- a/dlls/x11drv/mouse.c
+++ b/dlls/x11drv/mouse.c
@@ -289,7 +289,8 @@
{
queue_raw_mouse_message( WM_MOUSEMOVE, hwnd, pt.x, pt.y, data, time,
extra_info, injected_flags );
- if (injected_flags & LLMHF_INJECTED) /* we have to actually move the cursor */
+ if ((injected_flags & LLMHF_INJECTED) &&
+ ((flags & MOUSEEVENTF_ABSOLUTE) || x || y)) /* we have to actually move the cursor */
{
TRACE( "warping to (%ld,%ld)\n", pt.x, pt.y );
wine_tsx11_lock();