diff options
Diffstat (limited to 'src/gestures-tapping.c')
| -rw-r--r-- | src/gestures-tapping.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gestures-tapping.c b/src/gestures-tapping.c index d78e775..a5357e4 100644 --- a/src/gestures-tapping.c +++ b/src/gestures-tapping.c | |||
| @@ -49,12 +49,6 @@ int gru_tapping(struct grail *ge, | |||
| 49 | gin_gid_discard(ge, state->gid); | 49 | gin_gid_discard(ge, state->gid); |
| 50 | state->active = 0; | 50 | state->active = 0; |
| 51 | } | 51 | } |
| 52 | state->x = move->x.val; | ||
| 53 | state->y = move->y.val; | ||
| 54 | } else if (state->ntouch == 1) { | ||
| 55 | if (fabs(move->x.val - state->x) > move->y.bar || | ||
| 56 | fabs(move->y.val - state->y) > move->y.bar) | ||
| 57 | state->status = TAP_CANCEL; | ||
| 58 | } | 52 | } |
| 59 | if (!state->active) { | 53 | if (!state->active) { |
| 60 | int type = GRAIL_TYPE_TAP1 + state->ntouch - 1; | 54 | int type = GRAIL_TYPE_TAP1 + state->ntouch - 1; |
