diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-08-08 11:07:20 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-08-08 12:05:16 +0200 |
| commit | 3c63b1e6cc9eb7379e7687a5faec778c5dbfdc98 (patch) | |
| tree | fad5937d1c16d5d97f704867969fe10880280025 /src/gestures-tapping.c | |
| parent | 301cb7f95a4ca67b42410e65c71ddeefc379cb63 (diff) | |
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 <rydberg@euromail.se>
Diffstat (limited to 'src/gestures-tapping.c')
| -rw-r--r-- | src/gestures-tapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
| 86 | return 0; | 86 | return 0; |
| 87 | prop[0] = move->time - state->start; | 87 | prop[0] = move->time - state->start; |
| 88 | gin_gid_event(ge, state->gid, | 88 | gin_gid_event(ge, state->gid, |
| 89 | move->fm[FM_X].val, move->fm[FM_Y].val, state->ntouch, | 89 | move->fm[FM_X].value, move->fm[FM_Y].value, state->ntouch, |
| 90 | prop, 1, 1); | 90 | prop, 1, 1); |
| 91 | state->status = TAP_BEGIN; | 91 | state->status = TAP_BEGIN; |
| 92 | state->ntouch = 0; | 92 | state->ntouch = 0; |
