Edje entry: Fix update of cursor with IMF and user_insert.
authorTom Hacohen <tom@stosb.com>
Sun, 28 Oct 2012 13:29:01 +0000 (13:29 +0000)
committerTom Hacohen <tom@stosb.com>
Sun, 28 Oct 2012 13:29:01 +0000 (13:29 +0000)
Was missing, now cursor updates like it should.

SVN revision: 78587

legacy/edje/src/lib/edje_entry.c

index b644560..a5556f6 100644 (file)
@@ -2826,6 +2826,9 @@ _edje_entry_user_insert(Edje_Real_Part *rp, const char *text)
    _edje_emit_full(rp->edje, "entry,changed,user", rp->part->name,
                    info, _free_entry_change_info);
    _edje_emit(rp->edje, "cursor,changed", rp->part->name);
+
+   _edje_entry_imf_cursor_info_set(en);
+   _edje_entry_real_part_configure(rp);
 }
 
 void
@@ -3679,6 +3682,9 @@ _edje_entry_imf_event_commit_cb(void *data, Ecore_IMF_Context *ctx __UNUSED__, v
                         info, _free_entry_change_info);
         _edje_emit(ed, "cursor,changed", rp->part->name);
      }
+
+   _edje_entry_imf_cursor_info_set(en);
+   _edje_entry_real_part_configure(rp);
 }
 
 static void