forked from enlightenment/efl
elementary/elm_win : focus restoring will be occured only when current
elm_win is unfocused. SVN revision: 62247
This commit is contained in:
parent
f21153d781
commit
0bbff85394
|
@ -306,9 +306,8 @@ _elm_win_focus_in(Ecore_Evas *ee)
|
|||
if (!obj) return;
|
||||
win = elm_widget_data_get(obj);
|
||||
if (!win) return;
|
||||
elm_widget_focus_restore(win->win_obj);
|
||||
if (!elm_object_focus_get(win->win_obj))
|
||||
elm_object_focus_set(win->win_obj, EINA_TRUE);
|
||||
if (!elm_widget_focus_get(win->win_obj))
|
||||
elm_widget_focus_restore(win->win_obj);
|
||||
evas_object_smart_callback_call(win->win_obj, SIG_FOCUS_IN, NULL);
|
||||
win->focus_highlight.cur.visible = EINA_TRUE;
|
||||
_elm_win_focus_highlight_reconfigure_job_start(win);
|
||||
|
|
Loading…
Reference in New Issue