forked from enlightenment/efl
ecore_evas_extn: update plug image object after disconnection
Summary: plug image object was not cleaned after server disconnection. specifically, image data was cleaned (NULL), but it was not updated for real on screen --> set dirty of plug image object @fix Test Plan: elementary_test -> open window socket -> open window plug -> close window socket -> plug should be cleaned up Reviewers: raster, cedric Reviewed By: raster CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D703
This commit is contained in:
parent
6994f32351
commit
28fd36255b
|
@ -909,6 +909,7 @@ _ipc_server_del(void *data, int type EINA_UNUSED, void *event)
|
|||
if (!extn) return ECORE_CALLBACK_PASS_ON;
|
||||
if (extn->ipc.server != e->server) return ECORE_CALLBACK_PASS_ON;
|
||||
evas_object_image_data_set(bdata->image, NULL);
|
||||
evas_object_image_pixels_dirty_set(bdata->image, EINA_TRUE);
|
||||
bdata->pixels = NULL;
|
||||
extn->ipc.server = NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue