discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=f37590209dcd77d400ea7d66be38b47e8fc1a3ff
commit f37590209dcd77d400ea7d66be38b47e8fc1a3ff Author: Mike Blumenkrantz <[email protected]> Date: Tue May 10 12:35:06 2016 -0400 disable focus effects for windows with csd fix T3408 --- src/bin/e_comp_object.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 94fd088..d8e6664 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -723,6 +723,10 @@ _e_comp_object_shadow_setup(E_Comp_Object *cw) } else e_comp_object_signal_emit(cw->smart_obj, "e,state,hidden", "e"); + if (e_comp_object_frame_allowed(cw->smart_obj)) + e_comp_object_signal_emit(cw->smart_obj, "e,state,focus,enabled", "e"); + else + e_comp_object_signal_emit(cw->smart_obj, "e,state,focus,disabled", "e"); /* breaks animation counter */ //if (cw->ec->iconic) @@ -3141,6 +3145,11 @@ e_comp_object_frame_geometry_set(Evas_Object *obj, int l, int r, int t, int b) cw->client_inset.r = r; cw->client_inset.t = t; cw->client_inset.b = b; + if (!cw->shobj) return; + if (cw->client_inset.calc) + e_comp_object_signal_emit(obj, "e,state,focus,disabled", "e"); + else + e_comp_object_signal_emit(obj, "e,state,focus,enabled", "e"); } E_API Eina_Bool --
