summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
1695 new_manager = efl_ui_focus_user_manager_get(m2); 1695 new_manager = efl_ui_focus_user_manager_get(m2);
1696 1696
1697 /* also delay the registeration if we miss a manager half way */ 1697 /* also delay the registeration if we miss a manager half way */
1698 if (!new_manager) 1698 if (!new_manager && m2 != elm_widget_top_get(obj))
1699 { 1699 {
1700 efl_key_data_set(m, "__delayed_focus_set", obj);
1700 efl_event_callback_add(m2, EFL_UI_FOCUS_USER_EVENT_MANAGER_CHANGED, _manager_changed, obj); 1701 efl_event_callback_add(m2, EFL_UI_FOCUS_USER_EVENT_MANAGER_CHANGED, _manager_changed, obj);
1701 return; 1702 return;
1702 } 1703 }