forked from enlightenment/efl
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:
parent
f10e5fd0c9
commit
1b00894c58
|
@ -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!",
|
ERR("BUG? e->pointer.mouse_grabbed (=%d) < 0!",
|
||||||
e->pointer.mouse_grabbed);
|
e->pointer.mouse_grabbed);
|
||||||
}
|
}
|
||||||
|
/* remove released touch point from the touch point list */
|
||||||
|
_evas_touch_point_remove(e, 0);
|
||||||
|
|
||||||
_evas_unwalk(e);
|
_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)))
|
if ((e->pointer.button & (1 << i)))
|
||||||
evas_event_feed_mouse_up(e, i + 1, 0, timestamp, data);
|
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);
|
_evas_unwalk(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue