[entry] sync with opensource. Cursor's location should be shown, though entry is...
authorWooHyun Jung <wh0705.jung@samsung.com>
Fri, 25 Nov 2011 05:50:20 +0000 (14:50 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 28 Nov 2011 06:04:11 +0000 (15:04 +0900)
Change-Id: I9ea528a0e10ee0a1f4396ee1d2698b7c1cddda1a

src/lib/elm_entry.c

index d4bfdc9..5ff10b7 100644 (file)
@@ -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",