jihoon pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3dfc3dcd2c75cb09391d85b70889070b66644935

commit 3dfc3dcd2c75cb09391d85b70889070b66644935
Author: Jihoon Kim <jihoon48....@samsung.com>
Date:   Thu Dec 5 16:06:39 2013 +0900

    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 5cc763d..6b0374c 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)
      {

-- 


Reply via email to