[Pkg-e-commits] [SCM] Enlightenment 17 branch, upstream-vcs, updated. a8698069ec4eec9c2a189198fa5eec9854b168ac
jeffdameth
jeffdameth at alioth.debian.org
Sun May 4 21:39:51 UTC 2008
The following commit has been merged in the upstream-vcs branch:
commit 4dfc1b4b4befc79e3529366a65bf767ab6e43be9
Author: jeffdameth <jeffdameth>
Date: Sat Mar 22 17:59:52 2008 +0000
patch to allow transparent themed menus - analog to e_popup
diff --git a/src/bin/e_menu.c b/src/bin/e_menu.c
index 0e0c80b..b9b0118 100644
--- a/src/bin/e_menu.c
+++ b/src/bin/e_menu.c
@@ -1421,7 +1421,15 @@ _e_menu_realize(E_Menu *m)
evas_object_show(o);
if (m->shaped)
- ecore_evas_shaped_set(m->ecore_evas, m->shaped);
+ {
+ if (e_config->use_composite)
+ {
+ ecore_evas_alpha_set(m->ecore_evas, m->shaped);
+ m->evas_win = ecore_evas_software_x11_window_get(m->ecore_evas);
+ }
+ else
+ ecore_evas_shaped_set(m->ecore_evas, m->shaped);
+ }
o = e_box_add(m->evas);
m->container_object = o;
--
Enlightenment 17
More information about the Pkg-e-commits
mailing list