From: woohyun Date: Thu, 29 Sep 2011 06:31:40 +0000 (+0000) Subject: elementary/elm_pager : When new content is pushed, clearing focus in X-Git-Tag: REL_F_I9500_20120323_1~17^2~1741 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=87cbb94b2e13dfa5f685f1e3fa6bd1002c5d482c;p=framework%2Fuifw%2Felementary.git elementary/elm_pager : When new content is pushed, clearing focus in old content is enough. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@63654 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_pager.c b/src/lib/elm_pager.c index 309af71..08cf733 100644 --- a/src/lib/elm_pager.c +++ b/src/lib/elm_pager.c @@ -177,7 +177,7 @@ _eval_top(Evas_Object *obj) if (wd->oldtop) { if (elm_object_focus_get(wd->oldtop->content)) - elm_object_focus_set(wd->top->content, EINA_TRUE); + elm_widget_focused_object_clear(wd->oldtop->content); if (wd->oldtop->popme) edje_object_signal_emit(o, "elm,action,show", "elm"); else