summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-02-20 13:47:33 -0500
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-03 10:54:33 +0100
commit613cd9f8122ec0afa081064bd6c61d02bf323140 (patch)
tree93e8d7208e9b858bdd2d3e9364d1046387a86d59
parent322fdba5f093b14d6057171039567fc6cc35bf07 (diff)
efl/gesture: fix flick internal touch id tracking
need to always make sure we set this when a gesture is being tracked so we know which touch point we're watching Differential Revision: https://phab.enlightenment.org/D11387
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer_flick.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_flick.c b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_flick.c
index 071d45f142..b113e612b0 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_flick.c
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_flick.c
@@ -295,11 +295,12 @@ _efl_canvas_gesture_recognizer_flick_efl_canvas_gesture_recognizer_recognize(Eo
295 switch (efl_gesture_touch_state_get(event)) 295 switch (efl_gesture_touch_state_get(event))
296 { 296 {
297 case EFL_GESTURE_TOUCH_STATE_BEGIN: 297 case EFL_GESTURE_TOUCH_STATE_BEGIN:
298 if (!glayer_continues_enable) 298 fd->id = efl_gesture_touch_current_data_get(event)->id;
299 fd->id = efl_gesture_touch_current_data_get(event)->id;
300 EINA_FALLTHROUGH; 299 EINA_FALLTHROUGH;
301 case EFL_GESTURE_TOUCH_STATE_UPDATE: 300 case EFL_GESTURE_TOUCH_STATE_UPDATE:
302 { 301 {
302 if (fd->id == -1)
303 fd->id = efl_gesture_touch_current_data_get(event)->id;
303 if (pd->t_st) 304 if (pd->t_st)
304 { 305 {
305 if (glayer_continues_enable && pd->t_end) 306 if (glayer_continues_enable && pd->t_end)