summaryrefslogtreecommitdiff
path: root/src/bin/e_comp_object.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_comp_object.c')
-rw-r--r--src/bin/e_comp_object.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 174810470..fe6fa8103 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -351,7 +351,10 @@ _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 || e_pixmap_image_is_argb(cw->ec->pixmap); 354 Eina_Bool alpha = cw->ec->argb;
355
356 if (!e_pixmap_is_x(cw->ec->pixmap))
357 alpha |= e_pixmap_image_is_argb(cw->ec->pixmap);
355 358
356 if (cw->blanked || cw->ns || cw->ec->shaped) alpha = EINA_TRUE; 359 if (cw->blanked || cw->ns || cw->ec->shaped) alpha = EINA_TRUE;
357 360