Patrick Rudolph siro@das-labor.org writes:
This patch fixes bug https://bugs.winehq.org/show_bug.cgi?id=32913 After each mouse move the cursor is warped back to the center of the screen. This is OK for XInput, but not for XInput2 as XInput2 reports raw events that doesn't care about absolute screen coordinates and doesn't need to be dropped. There're frequent cursor warps resulting in lot's of dropped raw motion events (up to all). These dropped motion events cause mouse jitter, which is notable in FPS games, but not while using any GUI that only needs pixel coordinates.
The problem is that warping the mouse also generates events, and you have to ignore those.