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.
This commit is contained in:
Jihoon Kim 2013-12-05 16:06:39 +09:00
parent 0eb5cfaa30
commit 3dfc3dcd2c
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{