woohyun pushed a commit to branch master.
commit d2da97c75be18f5821938fe08fc4f4e9fd3cc54b
Author: WooHyun Jung <[email protected]>
Date: Wed Aug 28 13:40:27 2013 +0900
evas_event: Nomally, the point's state is maintained POINT_MOVE before it
is released.
---
src/lib/evas/canvas/evas_events.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/lib/evas/canvas/evas_events.c
b/src/lib/evas/canvas/evas_events.c
index fd8b58e..513d0c4 100644
--- a/src/lib/evas/canvas/evas_events.c
+++ b/src/lib/evas/canvas/evas_events.c
@@ -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);
}
--
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk