summaryrefslogtreecommitdiff
path: root/src/grail-gestures.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-09-10 13:08:22 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-09-10 14:06:10 +0200
commit2c07d7aa94c9f2f40d72875cf19a9c6a7b3a2c69 (patch)
treedee07e5ac6525ca4a6f35fef4632f6ce29409299 /src/grail-gestures.h
parent9482738f738af43ca8932014f7953f2d2b3beef0 (diff)
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 <rydberg@euromail.se>
Diffstat (limited to 'src/grail-gestures.h')
-rw-r--r--src/grail-gestures.h2
1 files changed, 1 insertions, 1 deletions
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,
97 const struct touch_frame *frame); 97 const struct touch_frame *frame);
98 98
99struct tapping_model { 99struct tapping_model {
100 grail_time_t start; 100 grail_time_t start, end;
101 int ntouch; 101 int ntouch;
102 int active, gid; 102 int active, gid;
103 int nprop; 103 int nprop;