From 477f338c8de5e20d82e7c861bba742bc4c203a42 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 11 Aug 2010 15:30:42 +0100 Subject: 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 --- src/grail-recognizer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/grail-recognizer.h') 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 { struct combo_model drag; struct combo_model pinch; struct combo_model rotate; + struct combo_model windrag; + struct combo_model winpinch; + struct combo_model winrotate; struct tapping_model tapping; }; -- cgit v1.2.3