ecore_imf_example: add ecore_imf_context_reset in mouse down event callback

SVN revision: 83341
This commit is contained in:
Jihoon Kim 2013-01-26 03:30:16 +00:00
parent 782a3f0a1a
commit 7cd88ec35a
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ _mouse_down_cb(void *data, Evas *e, Evas_Object *o, void *event_info)
if (!en) return;
// ecore_imf_context_reset should be called before calculating new cursor position
if (en->imf_context)
ecore_imf_context_reset(en->imf_context);
// calculate new cursor position
}