From 918b79d1a2aa6781b217475146ccd6760b288bf5 Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Fri, 25 Nov 2011 14:50:20 +0900 Subject: [PATCH] [entry] sync with opensource. Cursor's location should be shown, though entry is not focused Change-Id: I9ea528a0e10ee0a1f4396ee1d2698b7c1cddda1a --- src/lib/elm_entry.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index d4bfdc9..5ff10b7 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -613,7 +613,6 @@ _recalc_cursor_geometry(Evas_Object *obj) Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return; evas_object_smart_callback_call(obj, SIG_CURSOR_CHANGED, NULL); - if (!elm_object_focus_get(obj)) return; if (!wd->deferred_recalc_job) { Evas_Coord cx, cy, cw, ch; @@ -690,7 +689,7 @@ _elm_win_recalc_job(void *data) } } - if ((wd->deferred_cur) && (elm_object_focus_get(data))) + if (wd->deferred_cur) { Evas_Coord cx, cy, cw, ch; edje_object_part_text_cursor_geometry_get(wd->ent, "elm.text", -- 2.7.4