forked from enlightenment/efl
elm_widget: call the events after eval outself with new manager/parent
otherwise we might end up with a node_get error, since the widget where the event is called on is still registered in the wrong manager
This commit is contained in:
parent
b49df7128a
commit
6f0b79fe4b
|
@ -420,6 +420,8 @@ _full_eval(Eo *obj, Elm_Widget_Smart_Data *pd)
|
|||
_focus_state_eval(pd->logical.parent, new_pd);
|
||||
}
|
||||
|
||||
_focus_state_eval(obj, pd);
|
||||
|
||||
if (old_parent != pd->logical.parent)
|
||||
{
|
||||
efl_event_callback_call(obj,
|
||||
|
@ -433,7 +435,6 @@ _full_eval(Eo *obj, Elm_Widget_Smart_Data *pd)
|
|||
EFL_UI_FOCUS_USER_EVENT_MANAGER_CHANGED, old_manager);
|
||||
}
|
||||
|
||||
_focus_state_eval(obj, pd);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue