evas_event: Nomally, the point's state is maintained POINT_MOVE before it is released.

This commit is contained in:
WooHyun Jung 2013-08-28 13:40:27 +09:00
parent 73cab19a78
commit d2da97c75b
1 changed files with 4 additions and 2 deletions

View File

@ -1394,8 +1394,10 @@ _canvas_event_feed_mouse_cancel(Eo *eo_e, void *_pd, va_list *list)
}
EINA_LIST_FOREACH_SAFE(e->touch_points, l, ll, point)
{
if (point->state == EVAS_TOUCH_POINT_DOWN)
evas_event_feed_multi_up(eo_e, point->id, point->x, point->y, 0, 0, 0, 0, 0, 0, 0, 0, timestamp, data);
if ((point->state == EVAS_TOUCH_POINT_DOWN) ||
(point->state == EVAS_TOUCH_POINT_MOVE))
evas_event_feed_multi_up(eo_e, point->id, point->x, point->y,
0, 0, 0, 0, 0, 0, 0, 0, timestamp, data);
}
_evas_unwalk(e);
}