also check pixmap argb state when setting comp object alpha

more accurate for wayland
This commit is contained in:
Mike Blumenkrantz 2016-05-11 15:32:36 -04:00
parent 5d300bcb46
commit 6d397e313b
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ _e_comp_object_updates_init(E_Comp_Object *cw)
static void
_e_comp_object_alpha_set(E_Comp_Object *cw)
{
Eina_Bool alpha = cw->ec->argb;
Eina_Bool alpha = cw->ec->argb || e_pixmap_image_is_argb(cw->ec->pixmap);
if (cw->blanked || cw->ns || cw->ec->shaped) alpha = EINA_TRUE;