forked from enlightenment/terminology
terminology: Use proper event structure for mouse up callback
Summary: When catching evas mouse up callbacks, we should be using the Evas_Event_Mouse_Up structure for the event @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
709a55889f
commit
c328ba006e
|
@ -1097,7 +1097,7 @@ _mouse_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, vo
|
|||
static void
|
||||
_mouse_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
|
||||
{
|
||||
Evas_Event_Mouse_Down *ev = event;
|
||||
Evas_Event_Mouse_Up *ev = event;
|
||||
Media *sd = evas_object_smart_data_get(data);
|
||||
Evas_Coord dx, dy;
|
||||
if (!sd) return;
|
||||
|
|
Loading…
Reference in New Issue