summaryrefslogtreecommitdiff
path: root/src/grail-recognizer.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-08-11 15:30:42 +0100
committerHenrik Rydberg <rydberg@euromail.se>2010-08-11 17:59:29 +0100
commit477f338c8de5e20d82e7c861bba742bc4c203a42 (patch)
treebb5c35fb7acc742f06e5f03bb4702e3e3cfa6e45 /src/grail-recognizer.h
parent7ce1ea3d30d2827310b04ef316c242b7dbf7f9dd (diff)
Add environment and meta gestures
With meta gestures, the gesture starts given a certain number of fingers, but can then continue even if the number of fingers change. By configuration, such gestures live on a different priority plane from normal gestures. To match window manager specs, this patch adds the environment and meta planes, and add drag, pinch and rotate gestures initiated with three and four fingers, respectively. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/grail-recognizer.h')
-rw-r--r--src/grail-recognizer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/grail-recognizer.h b/src/grail-recognizer.h
index b39eac3..1a9edd1 100644
--- a/src/grail-recognizer.h
+++ b/src/grail-recognizer.h
@@ -31,6 +31,9 @@ struct gesture_recognizer {
31 struct combo_model drag; 31 struct combo_model drag;
32 struct combo_model pinch; 32 struct combo_model pinch;
33 struct combo_model rotate; 33 struct combo_model rotate;
34 struct combo_model windrag;
35 struct combo_model winpinch;
36 struct combo_model winrotate;
34 struct tapping_model tapping; 37 struct tapping_model tapping;
35}; 38};
36 39