guarantee comp shadow is off when frame exists

This commit is contained in:
Mike Blumenkrantz 2014-02-05 10:48:01 -05:00
parent cd37f23632
commit 27768fcb03
1 changed files with 3 additions and 4 deletions

View File

@ -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