cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=763478c091a3a38355c51f03113ee6641fb1a8e8
commit 763478c091a3a38355c51f03113ee6641fb1a8e8 Author: Hosang Kim <hosang12....@samsung.com> Date: Fri Dec 16 15:24:00 2016 -0800 elm_widget: add logic for updating geometry after moving Summary: scrollable object. In multiple scrollable case, the target object should be updated. Because the first object is scrolled. So the parent of the first object should be scrolled. Reviewers: woohyun, Hermet, jpeg, cedric, raster Differential Revision: https://phab.enlightenment.org/D4490 Signed-off-by: Cedric BAIL <ced...@osg.samsung.com> --- src/lib/elementary/elm_widget.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c index 91e965a..c59a8ef 100644 --- a/src/lib/elementary/elm_widget.c +++ b/src/lib/elementary/elm_widget.c @@ -867,11 +867,8 @@ _elm_widget_focus_region_show(const Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNU break; } - if (!elm_widget_focus_region_get(o, &x, &y, &w, &h)) - { - o = elm_widget_parent_get(o); - continue; - } + elm_widget_focus_region_get(o, &x, &y, &w, &h); + evas_object_geometry_get(o, &ox, &oy, NULL, NULL); } else { --