From 3dfc3dcd2c75cb09391d85b70889070b66644935 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Thu, 5 Dec 2013 16:06:39 +0900 Subject: [PATCH] ximmodule: fix issue the cursor of preedit shows the in front of preedit string Before fixing this issue, the cursor of preedit appears the in front of preedit string. The cursor of preedit string will appear in the proper position. --- src/modules/ecore_imf/xim/ecore_imf_xim.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/ecore_imf/xim/ecore_imf_xim.c b/src/modules/ecore_imf/xim/ecore_imf_xim.c index 5cc763d555..6b0374c152 100644 --- a/src/modules/ecore_imf/xim/ecore_imf_xim.c +++ b/src/modules/ecore_imf/xim/ecore_imf_xim.c @@ -960,6 +960,8 @@ _ecore_imf_xim_preedit_draw_call(XIC xic EINA_UNUSED, DBG("ctx=%p, imf_context_data=%p", ctx, imf_context_data); EINA_SAFETY_ON_NULL_RETURN(imf_context_data); + imf_context_data->preedit_cursor = call_data->caret; + preedit_bufs = eina_ustrbuf_new(); if (imf_context_data->preedit_chars) {