gesture_layer: fix long tap gesture has wrong timestamp.
authorwoochan lee <wc0917.lee@samsung.com>
Thu, 8 Oct 2015 10:35:07 +0000 (12:35 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Sat, 24 Oct 2015 02:05:24 +0000 (04:05 +0200)
commit637254ef6083dfb072f8e96e4aa4dea5c29650db
tree520e44c3c242e75b696fb2ee4ee7472675e44634
parentb922dbd0cba866ac59c28971f38dd25c5c7b00db
gesture_layer: fix long tap gesture has wrong timestamp.

Summary:
The timestamp has 0 value when n_long_tap_start callback called.
Then timestamp is same on each n_long_tap_move callback functions.

For fix this bug, update timestamp before called state_set function.
Also update timestamp in every timeout.

Test Plan:
Run test_gesture_layer2.c
Print timestamp in every n_long_tap_XXX callback.

Reviewers: tasn, cedric

Differential Revision: https://phab.enlightenment.org/D3144

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
legacy/elementary/src/lib/elm_gesture_layer.c