forked from enlightenment/efl
ecore_imf_example: add ecore_imf_context_reset in mouse down event callback
SVN revision: 83341
This commit is contained in:
parent
782a3f0a1a
commit
7cd88ec35a
|
@ -36,6 +36,8 @@ _mouse_down_cb(void *data, Evas *e, Evas_Object *o, void *event_info)
|
||||||
if (!en) return;
|
if (!en) return;
|
||||||
|
|
||||||
// ecore_imf_context_reset should be called before calculating new cursor position
|
// 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
|
// calculate new cursor position
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue