From: Enlightenment S. <no-...@en...> - 2011-03-16 21:40:32
|
Log: e17/comp: revert sniffing. seems i need to get only those windows that are not managed by Author: jeffdameth Date: 2011-03-16 14:40:25 -0700 (Wed, 16 Mar 2011) New Revision: 57806 Trac: http://trac.enlightenment.org/e/changeset/57806 Modified: trunk/e/src/modules/comp/e_mod_comp.c Modified: trunk/e/src/modules/comp/e_mod_comp.c =================================================================== --- trunk/e/src/modules/comp/e_mod_comp.c 2011-03-16 21:25:35 UTC (rev 57805) +++ trunk/e/src/modules/comp/e_mod_comp.c 2011-03-16 21:40:25 UTC (rev 57806) @@ -1695,7 +1695,6 @@ cw->primary_type = ECORE_X_WINDOW_TYPE_UNKNOWN; // setup on show // _e_mod_comp_win_sync_setup(cw, cw->win); - ecore_x_window_sniff(cw->win); } if (!cw->counter) @@ -1738,6 +1737,9 @@ if (cw->argb) evas_object_image_alpha_set(cw->obj, 1); else evas_object_image_alpha_set(cw->obj, 0); + if ((!cw->bd) && (!cw->pop) && (!cw->menu)) + ecore_x_window_sniff(cw->win); + _e_mod_comp_win_shadow_setup(cw); edje_object_signal_callback_add(cw->shobj, "e,action,show,done", "e", |