summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-10 12:35:06 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-10 12:35:06 -0400
commitf37590209dcd77d400ea7d66be38b47e8fc1a3ff (patch)
tree5413fb898b04f75ee3e1a2b06768f0c403172bfc
parent16797009c01e743085a9fe50c8559cafbd5189d8 (diff)
disable focus effects for windows with csd
fix T3408
-rw-r--r--src/bin/e_comp_object.c9
1 files changed, 9 insertions, 0 deletions
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)
723 } 723 }
724 else 724 else
725 e_comp_object_signal_emit(cw->smart_obj, "e,state,hidden", "e"); 725 e_comp_object_signal_emit(cw->smart_obj, "e,state,hidden", "e");
726 if (e_comp_object_frame_allowed(cw->smart_obj))
727 e_comp_object_signal_emit(cw->smart_obj, "e,state,focus,enabled", "e");
728 else
729 e_comp_object_signal_emit(cw->smart_obj, "e,state,focus,disabled", "e");
726 730
727 /* breaks animation counter */ 731 /* breaks animation counter */
728 //if (cw->ec->iconic) 732 //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)
3141 cw->client_inset.r = r; 3145 cw->client_inset.r = r;
3142 cw->client_inset.t = t; 3146 cw->client_inset.t = t;
3143 cw->client_inset.b = b; 3147 cw->client_inset.b = b;
3148 if (!cw->shobj) return;
3149 if (cw->client_inset.calc)
3150 e_comp_object_signal_emit(obj, "e,state,focus,disabled", "e");
3151 else
3152 e_comp_object_signal_emit(obj, "e,state,focus,enabled", "e");
3144} 3153}
3145 3154
3146E_API Eina_Bool 3155E_API Eina_Bool