set comp object mirror alpha flag more accurately on creation
authorMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 17 Sep 2015 20:48:02 +0000 (16:48 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 17 Sep 2015 20:54:00 +0000 (16:54 -0400)
src/bin/e_comp_object.c

index 76036ce..49e47bd 100644 (file)
@@ -3614,7 +3614,7 @@ e_comp_object_util_mirror_add(Evas_Object *obj)
    evas_object_data_set(o, "E_Client", cw->ec);
    evas_object_data_set(o, "comp_mirror", cw);
 
-   evas_object_image_alpha_set(o, cw->ec->argb || (!!cw->ec->shaped));
+   evas_object_image_alpha_set(o, evas_object_image_alpha_get(cw->obj));
    evas_object_image_size_set(o, w, h);
 
    if (cw->ec->shaped)