From a0a4c6c30704a792193ff49d7fcaab63dac8a07a Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Mon, 28 Mar 2011 20:55:29 +0200 Subject: Introduce touch gesture events Touch gesture events follow the same logic as drags, except they cannot be held back but are emitted immediately. Signed-off-by: Henrik Rydberg --- src/grail-recognizer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/grail-recognizer.c') diff --git a/src/grail-recognizer.c b/src/grail-recognizer.c index fb0ae85..5bc27ff 100644 --- a/src/grail-recognizer.c +++ b/src/grail-recognizer.c @@ -47,9 +47,11 @@ void gru_recognize(struct grail *ge, const struct utouch_frame *frame) if (!ge->gin || !ge->gru) return; gru_motion(ge, frame); + gru_touch(ge, frame); gru_drag(ge, frame); gru_pinch(ge, frame); gru_rotate(ge, frame); + gru_wintouch(ge, frame); gru_windrag(ge, frame); gru_winpinch(ge, frame); gru_winrotate(ge, frame); -- cgit v1.2.3