discomfitor pushed a commit to branch master.

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

commit 0e4ddaffbe950de63d1aaa79473bb22f464ac46f
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Dec 5 11:04:21 2016 -0500

    use better check for getting wl surface alpha from cursor pixmaps
    
    ref 6ba85cf864f19b083f652c7c7222d2c93b3b034e
---
 src/bin/e_pixmap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index 3f166d7..ab24c16 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -898,8 +898,8 @@ e_pixmap_image_is_argb(const E_Pixmap *cp)
 #ifdef HAVE_WAYLAND
         if (cp->usable)
           return cp->image_argb;
-        if (((E_Comp_Wl_Client_Data*)cp->client->comp_data)->cursor)
-          return EINA_TRUE;
+        /* only cursors can be override in wayland */
+        if (cp->client->override) return EINA_TRUE;
 #endif
         default: break;
      }

-- 


Reply via email to