summaryrefslogtreecommitdiff
path: root/src/examples/ecore
diff options
context:
space:
mode:
authorJihoon Kim <imfine98@gmail.com>2013-01-26 03:30:16 +0000
committerJihoon Kim <imfine98@gmail.com>2013-01-26 03:30:16 +0000
commit7cd88ec35a4b74e93bdfcc13ab3207f60c20c5e2 (patch)
tree4d5b54fe4534dc50c65f8badb6d23229dc37eab2 /src/examples/ecore
parent782a3f0a1abb7e9d1957fcd16b0f515d62bfbd73 (diff)
ecore_imf_example: add ecore_imf_context_reset in mouse down event callback
SVN revision: 83341
Diffstat (limited to 'src/examples/ecore')
-rw-r--r--src/examples/ecore/ecore_imf_example.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/examples/ecore/ecore_imf_example.c b/src/examples/ecore/ecore_imf_example.c
index 922b2ee365..9aa3334fe2 100644
--- a/src/examples/ecore/ecore_imf_example.c
+++ b/src/examples/ecore/ecore_imf_example.c
@@ -36,6 +36,8 @@ _mouse_down_cb(void *data, Evas *e, Evas_Object *o, void *event_info)
36 if (!en) return; 36 if (!en) return;
37 37
38 // ecore_imf_context_reset should be called before calculating new cursor position 38 // ecore_imf_context_reset should be called before calculating new cursor position
39 if (en->imf_context)
40 ecore_imf_context_reset(en->imf_context);
39 41
40 // calculate new cursor position 42 // calculate new cursor position
41} 43}