Commit 24da4ecd authored by Peter Hutterer's avatar Peter Hutterer
Browse files

touchpad: change the min vector for the scroll lock to 0.15

This makes the difference between noticable delay and unnoticable while having
virtually no false positives (for me).

#101

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 13bda5ad
Pipeline #3158 failed with stages
in 99 minutes and 38 seconds
......@@ -316,7 +316,7 @@ tp_gesture_apply_scroll_constraints(struct tp_dispatch *tp,
/* Ensure vector is big enough (in mm per EVENT_TIMEOUT) to be confident
* of direction. Larger = harder to enable diagonal/free scrolling.
*/
const double MIN_VECTOR = 0.25;
const double MIN_VECTOR = 0.15;
if (slope >= DEGREE_30 && vector_length > MIN_VECTOR) {
tp->scroll.duration.v += tdelta;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment