discomfitor pushed a commit to branch master.

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

commit e3590f6c3e290f7eaf53f2a523433c110eea71d9
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Nov 3 12:06:55 2016 -0400

    determine wl pixmap argb solely based on image_argb flag
    
    the existence of a buffer does not mean that the pixmap can stop being
    argb
    
    fixes random black rects
---
 src/bin/e_pixmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index 4d28814..b6fda25 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -898,7 +898,7 @@ e_pixmap_image_is_argb(const E_Pixmap *cp)
 #endif
       case E_PIXMAP_TYPE_WL:
 #ifdef HAVE_WAYLAND
-        return ((cp->buffer != NULL) && (cp->image_argb));
+        return cp->image_argb;
 #endif
         default: break;
      }

-- 


Reply via email to