From: Marcel Hollerbach Date: Mon, 18 Sep 2017 12:23:52 +0000 (+0200) Subject: elm_widget: eval the manager after the logicals are evalulated X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~2609 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97d150daad3748c06d9994703bbac4befc2c7ede;p=platform%2Fupstream%2Fefl.git elm_widget: eval the manager after the logicals are evalulated for the obj is the only child of parent this would have lead to manager beeing NULL. --- diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c index 617b6dc..8411861 100644 --- a/src/lib/elementary/elm_widget.c +++ b/src/lib/elementary/elm_widget.c @@ -499,7 +499,6 @@ _full_eval(Eo *obj, Elm_Widget_Smart_Data *pd) Efl_Ui_Focus_Object *old_registered_parent, *old_registered_manager; old_parent = _logical_parent_eval(obj, pd); - _focus_manager_eval(obj, pd); if (old_parent) { @@ -515,6 +514,8 @@ _full_eval(Eo *obj, Elm_Widget_Smart_Data *pd) _full_eval(pd->logical.parent, new_pd); } + _focus_manager_eval(obj, pd); + old_registered_parent = pd->focus.parent; old_registered_manager = pd->focus.manager;