jihoon pushed a commit to branch efl-1.8.

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

commit 3d39c1649907a2c8ab2e0ea02e5724a145549964
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 7243b42..a6d22ff 100644
--- a/src/modules/ecore_imf/xim/ecore_imf_xim.c
+++ b/src/modules/ecore_imf/xim/ecore_imf_xim.c
@@ -962,6 +962,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