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
This commit is contained in:
Mike Blumenkrantz 2020-02-20 13:47:33 -05:00 committed by Marcel Hollerbach
parent 322fdba5f0
commit 613cd9f812
1 changed files with 3 additions and 2 deletions

View File

@ -295,11 +295,12 @@ _efl_canvas_gesture_recognizer_flick_efl_canvas_gesture_recognizer_recognize(Eo
switch (efl_gesture_touch_state_get(event))
{
case EFL_GESTURE_TOUCH_STATE_BEGIN:
if (!glayer_continues_enable)
fd->id = efl_gesture_touch_current_data_get(event)->id;
fd->id = efl_gesture_touch_current_data_get(event)->id;
EINA_FALLTHROUGH;
case EFL_GESTURE_TOUCH_STATE_UPDATE:
{
if (fd->id == -1)
fd->id = efl_gesture_touch_current_data_get(event)->id;
if (pd->t_st)
{
if (glayer_continues_enable && pd->t_end)