From: Mike Blumenkrantz Date: Thu, 9 Apr 2015 18:07:18 +0000 (-0400) Subject: remove layer setting from deskmirror X-Git-Tag: upstream/0.20.0~1025 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59b49538b1c9ec7075b09fbff66ce50818833376;p=platform%2Fupstream%2Fenlightenment.git remove layer setting from deskmirror smart child objects can't have layers. apparently. --- diff --git a/src/bin/e_deskmirror.c b/src/bin/e_deskmirror.c index 5a326a5..034592d 100644 --- a/src/bin/e_deskmirror.c +++ b/src/bin/e_deskmirror.c @@ -513,7 +513,6 @@ _comp_object_check(Mirror *m) if ((w < 2) || (h < 2)) return EINA_FALSE; m->mirror = e_comp_object_util_mirror_add(m->comp_object); evas_object_name_set(m->mirror, "m->mirror"); - if (m->mirror) evas_object_layer_set(m->mirror, evas_object_layer_get(m->comp_object)); _e_deskmirror_mirror_setup(m); return EINA_TRUE; } @@ -615,7 +614,6 @@ _e_deskmirror_mirror_add(E_Smart_Data *sd, Evas_Object *obj) m->ec = ec; m->sd = sd; m->mirror = o; - if (o) evas_object_layer_set(o, evas_object_layer_get(obj)); evas_object_event_callback_add(obj, EVAS_CALLBACK_SHOW, (Evas_Object_Event_Cb)_comp_object_show, m); evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE, (Evas_Object_Event_Cb)_comp_object_hide, m); evas_object_event_callback_add(obj, EVAS_CALLBACK_RESTACK, (Evas_Object_Event_Cb)_comp_object_stack, m);