discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=27768fcb034d4c48b303736026926682d074631d

commit 27768fcb034d4c48b303736026926682d074631d
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Feb 5 10:48:01 2014 -0500

    guarantee comp shadow is off when frame exists
---
 src/bin/e_comp_object.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index d99087c..5fabe51 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -212,12 +212,11 @@ static void
 _e_comp_object_shadow(E_Comp_Object *cw)
 {
    if (e_util_client_shadow_state_get(cw->ec))
-     {
-        edje_object_signal_emit(cw->frame_object ?: cw->shobj, 
"e,state,shadow,on", "e");
-        edje_object_signal_emit(cw->shobj, "e,state,shadow,off", "e");
-     }
+     edje_object_signal_emit(cw->frame_object ?: cw->shobj, 
"e,state,shadow,on", "e");
    else
      edje_object_signal_emit(cw->frame_object ?: cw->shobj, 
"e,state,shadow,off", "e");
+   if (cw->frame_object)
+     edje_object_signal_emit(cw->shobj, "e,state,shadow,off", "e");
 }
 
 static void

-- 


Reply via email to