diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-09-09 21:01:18 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-09-09 21:05:11 +0200 |
| commit | be45e7cc1e71a358a35add1cd62280e8224b53f1 (patch) | |
| tree | 727c412abcf53fb6d8c387779c71198d43332327 /src/gestures-tapping.c | |
| parent | 52aeefd3f462955063faae58f14097a7be88a558 (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>
Diffstat (limited to 'src/gestures-tapping.c')
| -rw-r--r-- | src/gestures-tapping.c | 2 |
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 | ||
| 26 | static const int TAP_MIN_GAP_MS = 25; | 26 | static const int TAP_MIN_GAP_MS = 25; |
| 27 | 27 | ||
| 28 | static const int fm_mask = 0x03; | 28 | static const int fm_mask = 0x07; |
| 29 | 29 | ||
| 30 | static void set_props(const struct gesture_inserter *gin, | 30 | static 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, |
