https://bugs.winehq.org/show_bug.cgi?id=42631
Jordan Galby gravemind2a@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gravemind2a@gmail.com
--- Comment #53 from Jordan Galby gravemind2a@gmail.com --- Created attachment 62126 --> https://bugs.winehq.org/attachment.cgi?id=62126 Fix sub pixel raw motion
I had the issue on the Witcher 3, getting slow mouse movement unregistered and hitting seemingly random "walls". I found it came from wine receiving "fractions"/"sub-pixel" mouse motion (motion >0.0 but <1.0). The cause is probably my high dpi mouse that I setup with 'libinput Accel Speed' to "-0.5" (same as xorg.conf "AccelSpeed").
I made this patch on wine-3.14: it accumulates those "sub-pixel" motion and sends to windows when there is a "full pixels" motions (because it does not handle fractions; movements <1.0 are truncated to 0, so ignored).
This is my first patch, so probably not perfect.
Also, this bug could be related and fixed with the patch: https://bugs.winehq.org/show_bug.cgi?id=43794