diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-09 14:26:40 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-11 10:38:20 +1000 |
commit | 0de4445ff8e75aab208faf6383e76045934c6720 (patch) | |
tree | ff344c3c869ef9e7ec85f644fd4041d12b491858 /tools | |
parent | a1d6784d790f081f8a6ea3a10d3cfa578aa10d5b (diff) |
Fix coasting speed trigger
CoastingSpeed is defined as scrolls/s. The previous code just used
delta/seconds which depended on the device coordinate range and exceeded the
default CoastingSpeed at almost any scroll event.
Divide the estimated delta by the scroll distance to get the accurate
scrolls/s number. Since that now changes the contents of what's in
coast_speed_y, change the users of that too.
http://bugzilla.redhat.com/813686
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions