winex11.drv: don't drop raw input events after mouse warp

Alexandre Julliard julliard at
Wed Dec 17 13:56:40 CST 2014

Patrick Rudolph <siro at> writes:

> This patch fixes bug
> 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.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list