discomfitor pushed a commit to branch enlightenment-0.17.

commit eb0ec1e00f3e93cfd537f472aba90ca922dd4082
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Apr 25 12:02:36 2013 +0100

    restack event rect for efm...always
---
 src/bin/e_fm.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 26248e1..329bb9e 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -4859,7 +4859,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)
@@ -5004,6 +5007,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);
      }
 }
 
@@ -5030,7 +5034,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);
+               }
           }
      }
 }

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to