From 40364b49853307d8d593cd9bcffad4b5905fcb01 Mon Sep 17 00:00:00 2001 From: Woochan Lee Date: Thu, 1 Dec 2016 10:41:48 +0900 Subject: [PATCH] elm_calendar: Changed the calendar focus highlight concept. Summary: The highlight image enable when calendar got a focus. We enable the highlight image when the user sent a key event to calendar before. The above concept seems to be incorrect when focus highlight activated already. Test Plan: elementary_test calendar sample. Reviewers: woohyun, cedric, jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4438 --- src/lib/elementary/elm_calendar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_calendar.c b/src/lib/elementary/elm_calendar.c index 971f893ed8..a2c2517488 100644 --- a/src/lib/elementary/elm_calendar.c +++ b/src/lib/elementary/elm_calendar.c @@ -1648,7 +1648,7 @@ _elm_calendar_elm_widget_on_focus(Eo *obj, Elm_Calendar_Data *sd, Elm_Object_Ite if (!int_ret) return EINA_FALSE; if (elm_widget_focus_get(obj)) - sd->focused_it = sd->selected_it; + _update_focused_it(obj, sd->selected_it); else _update_unfocused_it(obj, sd->focused_it);