From 87cbb94b2e13dfa5f685f1e3fa6bd1002c5d482c Mon Sep 17 00:00:00 2001 From: woohyun Date: Thu, 29 Sep 2011 06:31:40 +0000 Subject: [PATCH] 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 --- src/lib/elm_pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4