restack event rect for efm...always
authorMike Blumenkrantz <m.blumenkran@samsung.com>
Thu, 25 Apr 2013 11:02:36 +0000 (12:02 +0100)
committerMike Blumenkrantz <m.blumenkran@samsung.com>
Thu, 25 Apr 2013 11:02:36 +0000 (12:02 +0100)
src/bin/e_fm.c

index 16a643d..5971153 100644 (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);
+               }
           }
      }
 }