diff options
author | metrics <metrics> | 2006-11-13 07:26:14 +0000 |
---|---|---|
committer | metrics <metrics@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33> | 2006-11-13 07:26:14 +0000 |
commit | 33a1a91f02d1b18ce1098e55c2d02eb9b91b2958 (patch) | |
tree | ea586d538340f35de7fe6a3cc47cf7a482a7e1d8 /src/bin/e_popup.c | |
parent | 2d3c6a7ecbbba9fa4a6442257b7fcdaa6bfeb66c (diff) | |
download | enlightenment-33a1a91f02d1b18ce1098e55c2d02eb9b91b2958.tar.gz |
Add composite support for popups (shelves, menus and exebuf)
configurable via enlightenment_remote.
SVN revision: 27081
Diffstat (limited to 'src/bin/e_popup.c')
-rw-r--r-- | src/bin/e_popup.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bin/e_popup.c b/src/bin/e_popup.c index 5692a8828b..26c9556304 100644 --- a/src/bin/e_popup.c +++ b/src/bin/e_popup.c @@ -169,7 +169,14 @@ e_popup_edje_bg_object_set(E_Popup *pop, Evas_Object *o) pop->shaped = 1; else pop->shaped = 0; - ecore_evas_shaped_set(pop->ecore_evas, pop->shaped); + if (e_config->use_composite) + { + ecore_evas_alpha_set(pop->ecore_evas, pop->shaped); + pop->evas_win = ecore_evas_software_x11_window_get(pop->ecore_evas); + e_container_window_raise(pop->zone->container, pop->evas_win, pop->layer); + } + else + ecore_evas_shaped_set(pop->ecore_evas, pop->shaped); } } |