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:
Wonguk Jeong 2014-04-09 19:45:30 +09:00 committed by Carsten Haitzler (Rasterman)
parent 6994f32351
commit 28fd36255b
1 changed files with 1 additions and 0 deletions

View File

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