discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=e4f3e73d7d2052b280f4d08da222a6258d9117d0

commit e4f3e73d7d2052b280f4d08da222a6258d9117d0
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed May 11 18:34:49 2016 -0400

    only check pixmap argb state for non-X11 clients
    
    non-argb windows can have argb pixmaps.
    
    ref 6d397e313b9c402167cc3206b19a8ca60a2525ea
---
 src/bin/e_comp_object.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 2a8406a..611bb79 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -316,7 +316,10 @@ _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 || e_pixmap_image_is_argb(cw->ec->pixmap);
+   Eina_Bool alpha = cw->ec->argb;
+
+   if (!e_pixmap_is_x(cw->ec->pixmap))
+     alpha |= e_pixmap_image_is_argb(cw->ec->pixmap);
 
    if (cw->blanked || cw->ns || cw->ec->shaped) alpha = EINA_TRUE;
 

-- 


Reply via email to