summaryrefslogtreecommitdiff
path: root/src/gestures-tapping.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-08-07 20:47:56 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-07 20:47:56 +0200
commit301cb7f95a4ca67b42410e65c71ddeefc379cb63 (patch)
tree5f32a3180b15eba0a5620ac4b67d8cff6b090acf /src/gestures-tapping.c
parentf6e65676026fa9f3f2664100b68ba2c6da376a24 (diff)
Send proper begin/update/end status for gestures
For transient gestures like taps, use update only. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/gestures-tapping.c')
-rw-r--r--src/gestures-tapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gestures-tapping.c b/src/gestures-tapping.c
index 1a02731..0f9b215 100644
--- a/src/gestures-tapping.c
+++ b/src/gestures-tapping.c
@@ -87,7 +87,7 @@ int gru_tapping(struct grail *ge,
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].val, move->fm[FM_Y].val, state->ntouch,
90 prop, 1, GRAIL_STATUS_END); 90 prop, 1, 1);
91 state->status = TAP_BEGIN; 91 state->status = TAP_BEGIN;
92 state->ntouch = 0; 92 state->ntouch = 0;
93 state->active = 0; 93 state->active = 0;