From 43fe69ceb335a0ad1fd55fb58acee124d6d9cf19 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 24 Mar 2011 20:34:20 +0100 Subject: Fix problem with tap properties at touch release -again This problem was fixed in the early grail stages, and reappeared in Aug 2010, in commit 241c5ec0. This one-liner fixes the problem, because the only interesting update to the properties state at maximum number of fingers is the end time. Signed-off-by: Henrik Rydberg --- src/gestures-tapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gestures-tapping.c b/src/gestures-tapping.c index 24ddf1a..656d6e9 100644 --- a/src/gestures-tapping.c +++ b/src/gestures-tapping.c @@ -89,7 +89,7 @@ int gru_tapping(struct grail *ge, } if (!move->ntouch) return 0; - set_props(ge->gin, state, move, frame); + state->prop[GRAIL_PROP_TAP_DT] = move->time - state->start; if ((move->active & fm_mask) || move->time - state->start > move->fm[FM_X].bar_ms) { gin_gid_discard(ge, state->gid); -- cgit v1.2.3