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 cf97d96f22
commit 28b19e8a2e
1 changed files with 1 additions and 0 deletions

View File

@ -3851,6 +3851,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)