ensure that wl clients do not run extra render on hide twice

fixes crash when applications crash
This commit is contained in:
Mike Blumenkrantz 2016-04-21 13:50:38 -04:00
parent 54e6da6576
commit 08cb34f7ad
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ _e_comp_wl_evas_cb_hide(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EIN
E_Client *ec = data;
if (!e_object_is_del(E_OBJECT(ec))) return;
if (!e_object_ref_get(E_OBJECT(ec))) return;
e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
e_comp_object_dirty(ec->frame);