From: EunMi Lee <eunmi15.lee@samsung.com>

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?



SVN revision: 65005
This commit is contained in:
EunMi Lee 2011-11-10 06:25:56 +00:00 committed by Carsten Haitzler
parent f10e5fd0c9
commit 1b00894c58
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}