winex11.drv: don't drop raw input events after mouse warp
Patrick Rudolph
siro at das-labor.org
Sun Dec 14 06:46:24 CST 2014
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 remains for virtual desktop as XInput2 is never turned on,
but that's another issue.
Please review.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-don-t-drop-raw-input-events-after-mouse-warp.patch
Type: text/x-diff
Size: 1001 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141214/f652bf8b/attachment.patch>
More information about the wine-patches
mailing list