diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 94fd088b1..d8e6664d3 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