From 6d397e313b9c402167cc3206b19a8ca60a2525ea Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 11 May 2016 15:32:36 -0400 Subject: [PATCH] also check pixmap argb state when setting comp object alpha more accurate for wayland --- src/bin/e_comp_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index d8e6664d3..db9c7e63d 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -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;