forked from enlightenment/efl
ecore_evas_extn: give proper event data to callbacks
Summary: extn send ecore event when plug is connected/disconnect (ECORE_EVAS_EXTN_CLIENT_ADD/ECORE_EVAS_EXTN_CLIENT_ADD) By the way, the event data is currently "Ecore_Evas_Engine_Buffer_Data" which should be hidden Moreover, when I make multiple sockets, I need a event data to distinguish which socket is connected by client. Therefore, I recommend to use Ecore_Evas as event data. @fix Reviewers: raster, Hermet, woohyun, cedric, seoz Reviewed By: raster CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D690
This commit is contained in:
parent
662fbe5ede
commit
8208454781
|
@ -71,7 +71,7 @@ _ecore_evas_extn_event(Ecore_Evas *ee, int event)
|
||||||
|
|
||||||
if (bdata->image)
|
if (bdata->image)
|
||||||
evas_object_ref(bdata->image);
|
evas_object_ref(bdata->image);
|
||||||
ecore_event_add(event, bdata->image,
|
ecore_event_add(event, ee,
|
||||||
_ecore_evas_extn_event_free, ee);
|
_ecore_evas_extn_event_free, ee);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue