diff options
| -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 fe7b7fe..b2acae8 100644 --- a/src/gestures-tapping.c +++ b/src/gestures-tapping.c | |||
| @@ -67,7 +67,7 @@ int gru_tapping(struct grail *ge, | |||
| 67 | int x = state->prop[GRAIL_PROP_TAP_X]; | 67 | int x = state->prop[GRAIL_PROP_TAP_X]; |
| 68 | int y = state->prop[GRAIL_PROP_TAP_Y]; | 68 | int y = state->prop[GRAIL_PROP_TAP_Y]; |
| 69 | int t = move->time - state->start; | 69 | int t = move->time - state->start; |
| 70 | if (t < TAP_MIN_GAP_MS) { | 70 | if (t < TAP_MIN_GAP_MS || t > move->fm[FM_X].bar_ms) { |
| 71 | gin_gid_discard(ge, state->gid); | 71 | gin_gid_discard(ge, state->gid); |
| 72 | state->ntouch = move->ntouch; | 72 | state->ntouch = move->ntouch; |
| 73 | state->active = 0; | 73 | state->active = 0; |
