[Wayland-bugs] [Bug 96982] xf86-input-libinput: Rough and lopsided mouse movement in games/apps that reposition mouse

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 7 16:14:57 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96982

--- Comment #13 from Danni H <dannihfoss at fastmail.fm> ---
Hi, where would be a good place to discuss the implementation of a possible fix
for this issue?

I'm not really sure why you would need to reset subpixel information when
traveling large distances. Wouldn't one simply be able to do something like
this:

xPos += floor(destinationX) - floor(sourceX);

This would move the cursor while preserving the fractional because it would
only ever adjust the mouse position by some number of whole pixels.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160807/123d9537/attachment.html>


More information about the wayland-bugs mailing list