From 3c63b1e6cc9eb7379e7687a5faec778c5dbfdc98 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Sun, 8 Aug 2010 11:07:20 +0200 Subject: Keep both raw and action delta in move model Accumulated values can be obtained either by using the raw_delta, which is the actual (filtered) change between frames, or by using the action delta, which sums up to the same position, but in a non- linear fashion. Use the raw delta for pointer gestures. Signed-off-by: Henrik Rydberg --- src/gestures-tapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gestures-tapping.c') diff --git a/src/gestures-tapping.c b/src/gestures-tapping.c index 0f9b215..ab86c0f 100644 --- a/src/gestures-tapping.c +++ b/src/gestures-tapping.c @@ -86,7 +86,7 @@ int gru_tapping(struct grail *ge, return 0; prop[0] = move->time - state->start; gin_gid_event(ge, state->gid, - move->fm[FM_X].val, move->fm[FM_Y].val, state->ntouch, + move->fm[FM_X].value, move->fm[FM_Y].value, state->ntouch, prop, 1, 1); state->status = TAP_BEGIN; state->ntouch = 0; -- cgit v1.2.3