From be45e7cc1e71a358a35add1cd62280e8224b53f1 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 9 Sep 2010 21:01:18 +0200 Subject: Cancel tapping also on zoom events The current code cancels tapping when dragging is active. This patch adds zooming to the set, to inhibit tapping also when a perfect zoom without dragging is performed. Reported-by: Chase Douglas Signed-off-by: Henrik Rydberg --- src/gestures-tapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gestures-tapping.c b/src/gestures-tapping.c index b2acae8..8727639 100644 --- a/src/gestures-tapping.c +++ b/src/gestures-tapping.c @@ -25,7 +25,7 @@ static const int TAP_MIN_GAP_MS = 25; -static const int fm_mask = 0x03; +static const int fm_mask = 0x07; static void set_props(const struct gesture_inserter *gin, struct tapping_model *s, const struct move_model *m, -- cgit v1.2.3