From e2db16a8af192ec81d4bf9111c3fc39aba03ed9d Mon Sep 17 00:00:00 2001 From: Jaeun Choi Date: Wed, 25 Jun 2014 13:49:44 +0900 Subject: [PATCH] Revert "bug fix: _elm_widget_focus_region_show" This reverts commit 1574f59fd88c53b380ab83317106164ae1c84652. This breaks focus move in scroller --- legacy/elementary/src/lib/elm_widget.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/legacy/elementary/src/lib/elm_widget.c b/legacy/elementary/src/lib/elm_widget.c index 6d24f0a153..283041a7b5 100644 --- a/legacy/elementary/src/lib/elm_widget.c +++ b/legacy/elementary/src/lib/elm_widget.c @@ -648,12 +648,6 @@ _elm_widget_focus_region_show(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED) if (_elm_scrollable_is(o) && !elm_widget_disabled_get(o)) { - if (!elm_widget_focus_region_get(o, &x, &y, &w, &h)) - { - o = elm_widget_parent_get(o); - continue; - } - switch (_elm_config->focus_autoscroll_mode) { case ELM_FOCUS_AUTOSCROLL_MODE_SHOW: @@ -665,6 +659,13 @@ _elm_widget_focus_region_show(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED) default: break; } + + + if (!elm_widget_focus_region_get(o, &x, &y, &w, &h)) + { + o = elm_widget_parent_get(o); + continue; + } } else {