e deskmirror - fix loss of mirror object from deskmirror
this fixes T2830 @fix
This commit is contained in:
parent
3195b760ee
commit
bd0c590489
|
@ -567,6 +567,7 @@ _comp_object_check(Mirror *m)
|
||||||
|
|
||||||
evas_object_geometry_get(m->comp_object, NULL, NULL, &w, &h);
|
evas_object_geometry_get(m->comp_object, NULL, NULL, &w, &h);
|
||||||
if ((w < 2) || (h < 2)) return EINA_FALSE;
|
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);
|
m->mirror = e_comp_object_util_mirror_add(m->comp_object);
|
||||||
if (!m->mirror) return EINA_FALSE;
|
if (!m->mirror) return EINA_FALSE;
|
||||||
evas_object_smart_callback_del(m->comp_object, "dirty", _comp_object_dirty);
|
evas_object_smart_callback_del(m->comp_object, "dirty", _comp_object_dirty);
|
||||||
|
|
Loading…
Reference in New Issue