From e9882c8b2bd19b2c333a082fa9de1739195726bd Mon Sep 17 00:00:00 2001 From: raster Date: Thu, 10 Nov 2011 06:25:56 +0000 Subject: [PATCH] From: EunMi Lee Subject: [E-devel] [Patch][Evas] Fix wrong location of _evas_touch_point_remove() I have a small patch to fix the wrong location of _evas_touch_point_remove(). _evas_touch_point_remove() should be called in the evas_event_feed_mouse_up(), but it is called in the evas_event_feed_mouse_cancel() in the current code. Would you apply attached patch? git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@65005 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/canvas/evas_events.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/canvas/evas_events.c b/src/lib/canvas/evas_events.c index 1243d67..4b61b26 100644 --- a/src/lib/canvas/evas_events.c +++ b/src/lib/canvas/evas_events.c @@ -442,7 +442,9 @@ evas_event_feed_mouse_up(Evas *e, int b, Evas_Button_Flags flags, unsigned int t ERR("BUG? e->pointer.mouse_grabbed (=%d) < 0!", e->pointer.mouse_grabbed); } - + /* remove released touch point from the touch point list */ + _evas_touch_point_remove(e, 0); + _evas_unwalk(e); } @@ -463,8 +465,6 @@ evas_event_feed_mouse_cancel(Evas *e, unsigned int timestamp, const void *data) if ((e->pointer.button & (1 << i))) evas_event_feed_mouse_up(e, i + 1, 0, timestamp, data); } - /* remove released touch point from the touch point list */ - _evas_touch_point_remove(e, 0); _evas_unwalk(e); } -- 2.7.4