forked from enlightenment/enlightenment
add special case for returning pixmap argb of unusable wl cursor pixmaps
this is usually called before the surface commits, so ensure that the most likely case is returned as the default until the commit occurs fixes black rect flickerings around the cursor
This commit is contained in:
parent
249cbe1d46
commit
0bf3a3d365
|
@ -899,7 +899,10 @@ e_pixmap_image_is_argb(const E_Pixmap *cp)
|
||||||
#endif
|
#endif
|
||||||
case E_PIXMAP_TYPE_WL:
|
case E_PIXMAP_TYPE_WL:
|
||||||
#ifdef HAVE_WAYLAND
|
#ifdef HAVE_WAYLAND
|
||||||
|
if (cp->usable)
|
||||||
return cp->image_argb;
|
return cp->image_argb;
|
||||||
|
if (((E_Comp_Wl_Client_Data*)cp->client->comp_data)->cursor)
|
||||||
|
return EINA_TRUE;
|
||||||
#endif
|
#endif
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue