[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
Fri Aug 5 02:48:55 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=96982
--- Comment #12 from Peter Hutterer <peter.hutterer at who-t.net> ---
my thought about in-pixel warping would've caused a warp to 100 to behave
differently dependent on the distance:
* from 100.3 it would warp to 100.3
* from 100.9 it would warp to 100.9
* from 101.1 it would warp to 100.0
* from 110.9 it would warp to 100.0
because once you get outside of the single pixel range, you need to reset
subpixel information. This wouldn't be a problem for large warps because
relying on subpixel there doesn't matter anyway. but it would be problematic
for exactly your use-case where we sometimes hit a pixel, sometimes not. it
would require some magic threshold of "keep the subpixel if warping less than
10 pixels" or something like that but that sounds a bit too magic.
a 0.5 base position is an interesting idea though it will need special casing
for screen edges because a half-pixel would trigger a move to the next screen.
I don't think there should be any ill effects for anything else.
it would be something worth trying if you have the time.
--
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/20160805/c5c22ae5/attachment.html>
More information about the wayland-bugs
mailing list