forked from enlightenment/enlightenment
also check pixmap argb state when setting comp object alpha
more accurate for wayland
This commit is contained in:
parent
5d300bcb46
commit
6d397e313b
|
@ -351,7 +351,7 @@ _e_comp_object_updates_init(E_Comp_Object *cw)
|
|||
static void
|
||||
_e_comp_object_alpha_set(E_Comp_Object *cw)
|
||||
{
|
||||
Eina_Bool alpha = cw->ec->argb;
|
||||
Eina_Bool alpha = cw->ec->argb || e_pixmap_image_is_argb(cw->ec->pixmap);
|
||||
|
||||
if (cw->blanked || cw->ns || cw->ec->shaped) alpha = EINA_TRUE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue