summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-11 15:32:36 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-11 15:40:09 -0400
commit6d397e313b9c402167cc3206b19a8ca60a2525ea (patch)
treeff628ec986a512015775ead143e2a665261d635f
parent5d300bcb46706b6c87e42714d532eed1b41fcb98 (diff)
also check pixmap argb state when setting comp object alpha
more accurate for wayland
-rw-r--r--src/bin/e_comp_object.c2
1 files changed, 1 insertions, 1 deletions
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)
351static void 351static void
352_e_comp_object_alpha_set(E_Comp_Object *cw) 352_e_comp_object_alpha_set(E_Comp_Object *cw)
353{ 353{
354 Eina_Bool alpha = cw->ec->argb; 354 Eina_Bool alpha = cw->ec->argb || e_pixmap_image_is_argb(cw->ec->pixmap);
355 355
356 if (cw->blanked || cw->ns || cw->ec->shaped) alpha = EINA_TRUE; 356 if (cw->blanked || cw->ns || cw->ec->shaped) alpha = EINA_TRUE;
357 357