I don't care if the entry is not focused, update the cursor position anyway.
authorsachiel <sachiel@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 30 Jul 2011 03:15:43 +0000 (03:15 +0000)
committersachiel <sachiel@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61917 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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;