aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-03-15 15:01:10 +0100
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-03-15 15:39:12 +0100
commit875a7eb0dafbd325ddabc4c7bd6e889c8e8ea46c (patch)
tree17d7b731b9bea256231f6447ff37892eebaddb91
parentelm_interface_scrollable: make sure to have the content always focusable (diff)
downloadefl-875a7eb0dafbd325ddabc4c7bd6e889c8e8ea46c.tar.gz
efl_ui_focus_manager_calc: do not set focus on a deletion manager
otherwise objects might already be on the way out, without a elementary parent.
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c
index 4b2bb25480..403f8cf265 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -1026,7 +1026,7 @@ _efl_ui_focus_manager_calc_unregister(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_
eina_hash_del_by_key(pd->node_hash, &child);
- if (refocus)
+ if (refocus && !efl_invalidated_get(pd->root->focusable))
{
Node *n = eina_list_last_data_get(pd->focus_stack);
if (!n)