forked from enlightenment/enlightenment
Allow pixmap argb state to override window state for wayland clients
Wayland argb state depends entirely on the attached buffer, so we should use that for determining object argb state on wayland. ref6d397e313b
ref60da58d8ad
This commit is contained in:
parent
e95098fedb
commit
573df39c17
|
@ -351,10 +351,12 @@ _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;
|
||||
|
||||
if (!e_pixmap_is_x(cw->ec->pixmap))
|
||||
alpha |= e_pixmap_image_is_argb(cw->ec->pixmap);
|
||||
alpha = e_pixmap_image_is_argb(cw->ec->pixmap);
|
||||
else
|
||||
alpha = cw->ec->argb;
|
||||
|
||||
if (cw->blanked || cw->ns || cw->ec->shaped) alpha = EINA_TRUE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue