From 850b808f51ef4d6ca577c2fe73a3ce6aa5917e21 Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Fri, 31 May 2013 15:48:44 +0900 Subject: [PATCH] [popup] When popup is shown, popup should get focus even if there is no focusable child in it. --- src/lib/elc_popup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c index 8e3a313..55a9f58 100644 --- a/src/lib/elc_popup.c +++ b/src/lib/elc_popup.c @@ -1445,8 +1445,8 @@ _elm_popup_smart_focus_next(const Evas_Object *obj, /* action area */ if (sd->button_count) items = eina_list_append(items, sd->action_area); - elm_widget_focus_list_next_get - (obj, items, eina_list_data_get, dir, next); + if (!elm_widget_focus_list_next_get(obj, items, eina_list_data_get, dir, next)) + *next = obj; return EINA_TRUE; } -- 2.7.4