I don't care if the entry is not focused, update the cursor position anyway.
authorIván Briano <sachieru@gmail.com>
Sat, 30 Jul 2011 03:15:43 +0000 (03:15 +0000)
committerIván Briano <sachieru@gmail.com>
Sat, 30 Jul 2011 03:15:43 +0000 (03:15 +0000)
Returning at that point was making non focused entries, like say... the chat buffer in an IM client to not scroll properly when we tell it to do so.

SVN revision: 61917

src/lib/elm_entry.c

index a83bd10..b7dc438 100644 (file)
@@ -548,7 +548,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;