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 56beb861e8
This commit is contained in:
Carsten Haitzler 2018-02-13 13:46:38 +09:00
parent 8988a02744
commit 93e833d8cd
1 changed files with 0 additions and 2 deletions

View File

@ -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);
}
}