discomfitor pushed a commit to branch master.


commit 818531a13e287138ddeb5274b805d108b0bd6ede
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Nov 19 15:44:34 2015 -0500

    Revert "e deskmirror - fix loss of mirror object from deskmirror"
    This reverts commit bd0c590489a7ae1c3185578389f19bde4bacbcff.
    the m->mirror object can never be deleted except in the case of a client
    being removed from the owner desk. removing it at any point will break any
    users of the deskmirror api and create other issues
    ref T2846
 src/bin/e_deskmirror.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/bin/e_deskmirror.c b/src/bin/e_deskmirror.c
index 890e6d8..216f451 100644
--- a/src/bin/e_deskmirror.c
+++ b/src/bin/e_deskmirror.c
@@ -567,7 +567,6 @@ _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);


Reply via email to