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
|
#ifdef HAVE_WAYLAND
|
||||||
if (cp->usable)
|
if (cp->usable)
|
||||||
return cp->image_argb;
|
return cp->image_argb;
|
||||||
if (((E_Comp_Wl_Client_Data*)cp->client->comp_data)->cursor)
|
/* only cursors can be override in wayland */
|
||||||
return EINA_TRUE;
|
if (cp->client->override) return EINA_TRUE;
|
||||||
#endif
|
#endif
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue