woohyun pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=663b185bb177f711fcc23ca84164419098b6421f

commit 663b185bb177f711fcc23ca84164419098b6421f
Author: WooHyun Jung <wh0705.j...@samsung.com>
Date:   Sat Jul 25 11:31:53 2015 +0900

    elm_focus: focus_resion_show does not need to be called for all parents
---
 src/lib/elm_widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index d683601..b854e0d 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -824,7 +824,6 @@ _parent_focus(Evas_Object *obj)
      {
         sd->focused = EINA_TRUE;
         eo_do(obj, elm_obj_widget_on_focus());
-        elm_widget_focus_region_show(obj);
      }
    sd->focus_order_on_calc = EINA_FALSE;
 
@@ -2857,6 +2856,7 @@ _elm_widget_focus_steal(Eo *obj, Elm_Widget_Smart_Data 
*sd)
           }
      }
    _parent_focus(obj);
+   elm_widget_focus_region_show(obj);
    return;
 }
 

-- 


Reply via email to