summaryrefslogtreecommitdiff
path: root/src/grail-gestures.h
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2011-02-25 02:12:32 +0100
committerHenrik Rydberg <rydberg@euromail.se>2011-03-14 12:55:19 +0100
commit609e367b3ee2b587f698b65393aa22357f453add (patch)
tree4c6aeec6262d148140697d4ee9a47bd0e860eb15 /src/grail-gestures.h
parent296cc6e9d0fe0d69045cb288f9f470f3760c4a43 (diff)
Fix tap event leakage
As an earlier stabilizing measure, very short taps were not registered as such but discarded, potentially letting the touch information through as non-gesture events. This should rather be handled in utouch-frame, and thus the code his dropped here. [rydberg@euromail.se: folded in unused code removal] Signed-off-by: Chase Douglas <chase.douglas@canonical.com> 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 69dd7e4..a6d51d5 100644
--- a/src/grail-gestures.h
+++ b/src/grail-gestures.h
@@ -97,7 +97,7 @@ int gru_winrotate(struct grail *ge,
97 const struct utouch_frame *frame); 97 const struct utouch_frame *frame);
98 98
99struct tapping_model { 99struct tapping_model {
100 grail_time_t start, end; 100 grail_time_t start;
101 int mintouch, maxtouch; 101 int mintouch, maxtouch;
102 int active, gid, tap; 102 int active, gid, tap;
103 int nprop; 103 int nprop;