touchpad: reduce tap-n-drag timeout to 300ms
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 2 Jun 2015 03:04:44 +0000 (13:04 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 2 Jun 2015 03:24:36 +0000 (13:24 +1000)
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 <peter.hutterer@who-t.net>
src/evdev-mt-touchpad-tap.c

index 55b7916048bbcb3caf5b1c816a1403dfc1cf6dec..b51f083aed7e249cf9aa3f170dcae9a9ba88a5db 100644 (file)
@@ -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 {