elm_widget: eval the manager after the logicals are evalulated
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Mon, 18 Sep 2017 12:23:52 +0000 (14:23 +0200)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Mon, 18 Sep 2017 13:49:43 +0000 (15:49 +0200)
for the obj is the only child of parent this would have lead to manager
  beeing NULL.

src/lib/elementary/elm_widget.c

index 617b6dc..8411861 100644 (file)
@@ -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;