[PATCH libinput] gestures: reduce 2fg scroll timeout to 500ms
Hans de Goede
hdegoede at redhat.com
Mon Aug 3 00:45:37 PDT 2015
Hi,
On 03-08-15 07:48, Peter Hutterer wrote:
> 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 <peter.hutterer at who-t.net>
LGTM: Reviewed-by: Hans de Goede <hdegoede at redhat.com>
Regards,
Hans
> ---
> 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 6017416..d82a6fb 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)
>
More information about the wayland-devel
mailing list