focus: Set the focus target as NULL on focus highlight init.

Only elementary object can be a candidate for elementary focus.
This commit is contained in:
Daniel Juyung Seo 2014-03-23 00:42:59 +09:00
parent a6063a3c9c
commit 3881d02167
1 changed files with 1 additions and 1 deletions

View File

@ -2234,7 +2234,7 @@ _elm_win_focus_highlight_init(Elm_Win_Smart_Data *sd)
EVAS_CALLBACK_CANVAS_OBJECT_FOCUS_OUT,
_elm_win_object_focus_out, sd->obj);
sd->focus_highlight.cur.target = evas_focus_get(sd->evas);
sd->focus_highlight.cur.target = NULL;
sd->focus_highlight.fobj = edje_object_add(sd->evas);
sd->focus_highlight.theme_changed = EINA_TRUE;