From d823a3da0ad74f68e89ef5a0e8660c99b7eaf348 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 3 Aug 2015 15:08:57 +1000 Subject: [PATCH] gestures: reduce 2fg scroll timeout to 500ms Holding the fingers in place without moving for 500ms is long enough to lock in a scroll gesture, especially while we're still waiting for the rest of the stack to expose pinch gestures. Signed-off-by: Peter Hutterer Reviewed-by: Hans de Goede --- src/evdev-mt-touchpad-gestures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev-mt-touchpad-gestures.c b/src/evdev-mt-touchpad-gestures.c index 60174168..d82a6fb9 100644 --- a/src/evdev-mt-touchpad-gestures.c +++ b/src/evdev-mt-touchpad-gestures.c @@ -30,7 +30,7 @@ #include "evdev-mt-touchpad.h" #define DEFAULT_GESTURE_SWITCH_TIMEOUT ms2us(100) -#define DEFAULT_GESTURE_2FG_SCROLL_TIMEOUT ms2us(1000) +#define DEFAULT_GESTURE_2FG_SCROLL_TIMEOUT ms2us(500) static inline const char* gesture_state_to_str(enum tp_gesture_2fg_state state)