restack event rect for efm...always

This commit is contained in:
Mike Blumenkrantz 2013-04-25 12:02:36 +01:00
parent 2353c5f2ac
commit 5bacb5dfc3
1 changed files with 9 additions and 2 deletions

View File

@ -4880,7 +4880,10 @@ _e_fm2_icon_realize(E_Fm2_Icon *ic)
edje_object_signal_emit(ic->obj_icon, "e,state,selected", "e");
selectraise = edje_object_data_get(ic->obj, "selectraise");
if ((selectraise) && (!strcmp(selectraise, "on")))
evas_object_stack_below(ic->obj, ic->sd->drop);
{
evas_object_stack_below(ic->obj, ic->sd->drop);
evas_object_stack_above(ic->rect, ic->obj);
}
}
if (ic->info.removable)
@ -5025,6 +5028,7 @@ _e_fm2_icon_select(E_Fm2_Icon *ic)
selectraise = edje_object_data_get(ic->obj, "selectraise");
if ((selectraise) && (!strcmp(selectraise, "on")))
evas_object_stack_below(ic->obj, ic->sd->drop);
evas_object_stack_above(ic->rect, ic->obj);
}
}
@ -5051,7 +5055,10 @@ _e_fm2_icon_deselect(E_Fm2_Icon *ic)
if ((selectraise) && (!strcmp(selectraise, "on")))
{
if ((stacking) && (!strcmp(stacking, "below")))
evas_object_stack_above(ic->obj, ic->sd->underlay);
{
evas_object_stack_above(ic->obj, ic->sd->underlay);
evas_object_stack_above(ic->rect, ic->obj);
}
}
}
}