set comp object alpha state when applying native surface

ensure that alpha is set accurately for the native surface
This commit is contained in:
Mike Blumenkrantz 2017-10-06 11:37:50 -04:00
parent 4d76f409f8
commit 9983172f32
1 changed files with 1 additions and 0 deletions

View File

@ -4023,6 +4023,7 @@ e_comp_object_native_surface_set(Evas_Object *obj, Eina_Bool set)
if ((!set) && (!cw->native)) return;
cw->native = set;
_e_comp_object_alpha_set(cw);
evas_object_image_native_surface_set(cw->obj, set && (!cw->blanked) ? (cw->ns ?: &ns) : NULL);
EINA_LIST_FOREACH(cw->obj_mirror, l, o)