discomfitor pushed a commit to branch enlightenment-0.21.

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

commit 923f2e900f4205235e1b583d65ccaabee4b057e1
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 0c3b7d3..8565211 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -901,8 +901,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