bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4edba079c4f4d9c287c6284cd65ca3731cac6a6c

commit 4edba079c4f4d9c287c6284cd65ca3731cac6a6c
Author: Marcel Hollerbach <[email protected]>
Date:   Sun Oct 15 15:23:56 2017 +0200

    elm_widget: also unregister if the logical parent changes
---
 src/lib/elementary/elm_widget.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 5fbce1f57e..427f905225 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -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))
      {

-- 


Reply via email to