forked from enlightenment/enlightenment
only check pixmap argb state for non-X11 clients
non-argb windows can have argb pixmaps.
ref 6d397e313b
This commit is contained in:
parent
ada13539bf
commit
60da58d8ad
|
@ -351,7 +351,10 @@ _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 || e_pixmap_image_is_argb(cw->ec->pixmap);
|
||||
Eina_Bool alpha = cw->ec->argb;
|
||||
|
||||
if (!e_pixmap_is_x(cw->ec->pixmap))
|
||||
alpha |= e_pixmap_image_is_argb(cw->ec->pixmap);
|
||||
|
||||
if (cw->blanked || cw->ns || cw->ec->shaped) alpha = EINA_TRUE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue