Created attachment 60076 [details]
Suggested patch (abs)
1. Double tap and hold in the center of the touchpad.
2. Move your finger slowly towards an edge or corner.
3. When you get close to the edge, the cursor will often jump from its current position to the very edge/corner of the display.
Bisecting leads to c25ff549c9636ad89a81fbf364159c7f040d163b as the first bad commit.
I played around and added some debug lines, and it seems that inside get_delta,
hw->millis - HIST(0).millis
is sometimes returning a negative value. This causes dtime to become an extremely large value instead of an extremely small value.
Although finding the root cause would be nice, suggested patch just ensures the above evaluation is never negative.
Works fine for me. Thanks.
Author: Peter Hutterer <email@example.com>
Date: Thu Apr 19 16:39:41 2012 +1000
Ensure hw millis are monotonic (#48777)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.