From: Peter Hutterer Date: Tue, 2 Jun 2015 03:04:44 +0000 (+1000) Subject: touchpad: reduce tap-n-drag timeout to 300ms X-Git-Tag: 0.17.0~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8518f8f7c1611c58badb9d73e66d9c722849b55;p=platform%2Fupstream%2Flibinput.git touchpad: reduce tap-n-drag timeout to 300ms The current 500ms is too long, reduce it to 300ms instead. This is still long enough to get multiple movements but not that long that it feels like the button is stuck. https://bugs.freedesktop.org/show_bug.cgi?id=90613 Signed-off-by: Peter Hutterer --- diff --git a/src/evdev-mt-touchpad-tap.c b/src/evdev-mt-touchpad-tap.c index 55b79160..b51f083a 100644 --- a/src/evdev-mt-touchpad-tap.c +++ b/src/evdev-mt-touchpad-tap.c @@ -37,7 +37,7 @@ #define CASE_RETURN_STRING(a) case a: return #a #define DEFAULT_TAP_TIMEOUT_PERIOD 180 -#define DEFAULT_DRAG_TIMEOUT_PERIOD 500 +#define DEFAULT_DRAG_TIMEOUT_PERIOD 300 #define DEFAULT_TAP_MOVE_THRESHOLD TP_MM_TO_DPI_NORMALIZED(3) enum tap_event {