aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-10-25 14:17:01 +0200
committerMarcel Hollerbach <marcel@osg.samsung.com>2017-10-25 14:36:13 +0200
commitfa49488f3a08794bd9fbe72f2400cb19b59528e4 (patch)
tree1187707d2ef4d78e54f2b5afd3e01e14064aa268
parentelm_multibuttonentry: do not eat all the events (diff)
downloadefl-fa49488f3a08794bd9fbe72f2400cb19b59528e4.tar.gz
elm_main: make sure we dont go deeper than the widget top level
-rw-r--r--src/lib/elementary/elm_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c
index 81cbce4eeb..90647b30aa 100644
--- a/src/lib/elementary/elm_main.c
+++ b/src/lib/elementary/elm_main.c
@@ -1695,8 +1695,9 @@ _elm_widget_focus(Evas_Object *obj)
new_manager = efl_ui_focus_user_manager_get(m2);
/* also delay the registeration if we miss a manager half way */
- if (!new_manager)
+ if (!new_manager && m2 != elm_widget_top_get(obj))
{
+ efl_key_data_set(m, "__delayed_focus_set", obj);
efl_event_callback_add(m2, EFL_UI_FOCUS_USER_EVENT_MANAGER_CHANGED, _manager_changed, obj);
return;
}