From 93e833d8cd832f5d142496c194a521cec41fb5e6 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Tue, 13 Feb 2018 13:46:38 +0900 Subject: [PATCH] efl ui win - fix focus break for terminology (at least) at least terminology was broken by this. perhaps other efl apps. if an efl app has decided to manually play with focus itself, like set focus to some obj then leav ie, this line breaks that and interferes with the object focused whenever the window gets focus set. if there is a focus manager at least this is a new thing and so let the focus manager set focus, but dont set old evas focus. this fixes the break added in 56beb861e83cbc830c82db7473e0a88461e2e213 --- src/lib/elementary/efl_ui_win.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index 1a8cd6ad93..aa64baa423 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -1266,8 +1266,6 @@ _elm_win_focus_in(Ecore_Evas *ee) if (child) efl_ui_focus_manager_focus_set(sd->obj, sd->obj); - else - evas_object_focus_set(sd->obj, EINA_TRUE); } }