summaryrefslogtreecommitdiff
path: root/src/grail-gestures.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-09-21 10:27:17 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-09-21 12:56:17 +0200
commita23067b7066786ceaa0779324e9120f8b04a6372 (patch)
treec8b18f401defb1d6bdce5799e824285fde2a725b /src/grail-gestures.h
parentd638d408615427196b031692f8fd14a83a790d30 (diff)
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 <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 247acf9..36d8e78 100644
--- a/src/grail-gestures.h
+++ b/src/grail-gestures.h
@@ -98,7 +98,7 @@ int gru_winrotate(struct grail *ge,
98 98
99struct tapping_model { 99struct tapping_model {
100 grail_time_t start, end; 100 grail_time_t start, end;
101 int ntouch; 101 int mintouch, maxtouch;
102 int active, gid; 102 int active, gid;
103 int nprop; 103 int nprop;
104 grail_prop_t prop[DIM_GRAIL_PROP]; 104 grail_prop_t prop[DIM_GRAIL_PROP];