diff options
author | Hosang Kim <hosang12.kim@samsung.com> | 2017-09-19 17:22:48 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-09-19 17:22:48 +0900 |
commit | 425c98289df3d06b1bf4ad305f5ffce02a70098d (patch) | |
tree | 28b19a1a943853ec230896c9720c0a53a68b6ccf | |
parent | cc691776f31f09e3012272c5bb02579efaaf1dc7 (diff) | |
download | efl-425c98289df3d06b1bf4ad305f5ffce02a70098d.tar.gz |
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
-rw-r--r-- | src/lib/evas/canvas/evas_events.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c index 0653f8dc90..aee416a99a 100644 --- a/src/lib/evas/canvas/evas_events.c +++ b/src/lib/evas/canvas/evas_events.c @@ -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; |