summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-09-09 21:01:18 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-09-09 21:05:11 +0200
commitbe45e7cc1e71a358a35add1cd62280e8224b53f1 (patch)
tree727c412abcf53fb6d8c387779c71198d43332327
parent52aeefd3f462955063faae58f14097a7be88a558 (diff)
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 <chase.douglas@canonical.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r--src/gestures-tapping.c2
1 files changed, 1 insertions, 1 deletions
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 @@
25 25
26static const int TAP_MIN_GAP_MS = 25; 26static const int TAP_MIN_GAP_MS = 25;
27 27
28static const int fm_mask = 0x03; 28static const int fm_mask = 0x07;
29 29
30static void set_props(const struct gesture_inserter *gin, 30static void set_props(const struct gesture_inserter *gin,
31 struct tapping_model *s, const struct move_model *m, 31 struct tapping_model *s, const struct move_model *m,