e deskmirror - fix loss of mirror object from deskmirror

this fixes T2830

@fix
This commit is contained in:
Carsten Haitzler 2015-11-10 19:06:06 +09:00
parent 3195b760ee
commit bd0c590489
1 changed files with 1 additions and 0 deletions

View File

@ -567,6 +567,7 @@ _comp_object_check(Mirror *m)
evas_object_geometry_get(m->comp_object, NULL, NULL, &w, &h);
if ((w < 2) || (h < 2)) return EINA_FALSE;
if (m->mirror) evas_object_del(m->mirror);
m->mirror = e_comp_object_util_mirror_add(m->comp_object);
if (!m->mirror) return EINA_FALSE;
evas_object_smart_callback_del(m->comp_object, "dirty", _comp_object_dirty);