discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=468757c8c15a77d374e3788f247ecd2dba60f997

commit 468757c8c15a77d374e3788f247ecd2dba60f997
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 9c39756..7d08e83 100644
--- a/src/bin/e_deskmirror.c
+++ b/src/bin/e_deskmirror.c
@@ -541,7 +541,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