bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=ff8e8fd5f8c02425601feaafee57eb8d3b3cf4ce
commit ff8e8fd5f8c02425601feaafee57eb8d3b3cf4ce Author: Mike Blumenkrantz <[email protected]> Date: Thu Jan 23 15:20:12 2020 -0500 efl/gesture: discard non-press events for all touch points if unseen previously not sure why this was restricted to first touch point previously, but the logic applies to all points as we don't want to be tracking input for a touch we haven't gotten a down for Reviewed-by: woochan lee <[email protected]> Differential Revision: https://phab.enlightenment.org/D11169 --- src/lib/evas/gesture/efl_canvas_gesture_touch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/evas/gesture/efl_canvas_gesture_touch.c b/src/lib/evas/gesture/efl_canvas_gesture_touch.c index d621b3be4a..f6a1f71265 100644 --- a/src/lib/evas/gesture/efl_canvas_gesture_touch.c +++ b/src/lib/evas/gesture/efl_canvas_gesture_touch.c @@ -82,11 +82,12 @@ _efl_canvas_gesture_touch_point_record(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_T else { //New finger - if (!id && (action != EFL_POINTER_ACTION_DOWN)) + if (action != EFL_POINTER_ACTION_DOWN) { //Discard any other event return; } + point = calloc(1, sizeof(Efl_Gesture_Touch_Point_Data)); if (!point) return; point->start.pos = point->prev.pos = point->cur.pos = _pos; --
