From a23067b7066786ceaa0779324e9120f8b04a6372 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Tue, 21 Sep 2010 10:27:17 +0200 Subject: Do not tap when leaving fingers on the pad The current code will treat a 3-down-2-up as a tap. This patch changes the logic so that taps are only emitted when the number of fingers returns to the baseline. 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 247acf9..36d8e78 100644 --- a/src/grail-gestures.h +++ b/src/grail-gestures.h @@ -98,7 +98,7 @@ int gru_winrotate(struct grail *ge, struct tapping_model { grail_time_t start, end; - int ntouch; + int mintouch, maxtouch; int active, gid; int nprop; grail_prop_t prop[DIM_GRAIL_PROP]; -- cgit v1.2.3