bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=97d150daad3748c06d9994703bbac4befc2c7ede

commit 97d150daad3748c06d9994703bbac4befc2c7ede
Author: Marcel Hollerbach <marcel-hollerb...@t-online.de>
Date:   Mon Sep 18 14:23:52 2017 +0200

    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 617b6dc0ef..841186151a 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;
 

-- 


Reply via email to