Commit f610f31c authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

Fix bad mouse lag in games that do their own mouse warping.

parent c22716f5
......@@ -697,6 +697,7 @@ BOOL X11DRV_SetCursorPos( INT x, INT y )
wine_tsx11_lock();
XWarpPointer( display, root_window, root_window, 0, 0, 0, 0, x, y );
XFlush( display ); /* avoids bad mouse lag in games that do their own mouse warping */
cursor_pos.x = x;
cursor_pos.y = y;
wine_tsx11_unlock();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment