forked from enlightenment/enlightenment
use better check for getting wl surface alpha from cursor pixmaps
ref 6ba85cf864
This commit is contained in:
parent
35530a546e
commit
923f2e900f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue