elm_widget: also unregister if the logical parent changes

This commit is contained in:
Marcel Hollerbach 2017-10-15 15:23:56 +02:00
parent 6cd3d4026c
commit 4edba079c4
1 changed files with 1 additions and 0 deletions

View File

@ -355,6 +355,7 @@ _elm_widget_focus_state_apply(Eo *obj, Elm_Widget_Smart_Data *pd EINA_UNUSED, El
if (//check if we have changed the manager
(current_state.manager != configured_state->manager) ||
(current_state.parent != configured_state->parent) ||
//check if we are already registered but in a different state
(current_state.logical != configured_state->logical))
{