From 97d150daad3748c06d9994703bbac4befc2c7ede Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Mon, 18 Sep 2017 14:23:52 +0200 Subject: [PATCH] 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. --- src/lib/elementary/elm_widget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.7.4