From 2c07d7aa94c9f2f40d72875cf19a9c6a7b3a2c69 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Fri, 10 Sep 2010 13:08:22 +0200 Subject: Inhibit taps immediately after a finger is lifted The intentional tap starts with a finger in the air. This patch treats the sequence up-down-up as unintentional, unless performed with a single finger. Fixes the problem with accidental taps during multi-finger gestures. Signed-off-by: Henrik Rydberg --- src/grail-gestures.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/grail-gestures.h') diff --git a/src/grail-gestures.h b/src/grail-gestures.h index 5a242d9..247acf9 100644 --- a/src/grail-gestures.h +++ b/src/grail-gestures.h @@ -97,7 +97,7 @@ int gru_winrotate(struct grail *ge, const struct touch_frame *frame); struct tapping_model { - grail_time_t start; + grail_time_t start, end; int ntouch; int active, gid; int nprop; -- cgit v1.2.3