forked from enlightenment/efl
evas_events: add checking state of point
Summary: When multi down or multi move occur, state of touch point changes to EVAS_TOUCH_POINT_STILL. So I add condition, "state == EVAS_TOUCH_POINT_STILL" Reviewers: jypark, woohyun, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5157
This commit is contained in:
parent
cc691776f3
commit
425c98289d
|
@ -1918,7 +1918,8 @@ _canvas_event_feed_mouse_cancel_internal(Evas_Public_Data *e, Efl_Input_Pointer_
|
|||
EINA_LIST_FOREACH_SAFE(e->touch_points, l, ll, point)
|
||||
{
|
||||
if ((point->state == EVAS_TOUCH_POINT_DOWN) ||
|
||||
(point->state == EVAS_TOUCH_POINT_MOVE))
|
||||
(point->state == EVAS_TOUCH_POINT_MOVE) ||
|
||||
(point->state == EVAS_TOUCH_POINT_STILL))
|
||||
{
|
||||
ev->tool = point->id;
|
||||
ev->cur.x = point->x;
|
||||
|
|
Loading…
Reference in New Issue