diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-05-11 18:34:49 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-05-11 18:34:49 -0400 |
commit | 60da58d8ad15968a8297aecd3df071d21a61c1fd (patch) | |
tree | 38db010fada30e671fd1780d00a76129ff6ef634 | |
parent | ada13539bf87394976cb771462fa86244fff820f (diff) | |
download | enlightenment-60da58d8ad15968a8297aecd3df071d21a61c1fd.tar.gz |
only check pixmap argb state for non-X11 clients
non-argb windows can have argb pixmaps.
ref 6d397e313b9c402167cc3206b19a8ca60a2525ea
-rw-r--r-- | src/bin/e_comp_object.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 1748104703..fe6fa81035 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -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; |