ecore : From. Jihoon Kim. In XIM immodule, it doesn't generate preedit
authorwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 29 Jul 2011 05:37:31 +0000 (05:37 +0000)
committerwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 29 Jul 2011 05:37:31 +0000 (05:37 +0000)
changed event in preedit_draw_callback func at this moment.
This patch will solve this problem.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61876 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/immodules/xim/ecore_imf_xim.c

index 795b98f..0a0b25e 100644 (file)
@@ -821,6 +821,8 @@ preedit_draw_callback(XIC                           xic __UNUSED__,
           eina_ustrbuf_string_steal(preedit_bufs);
       imf_context_data->preedit_length =
           eina_unicode_strlen(imf_context_data->preedit_chars);
+
+      ecore_imf_context_preedit_changed_event_add(ctx);
    }
 
    free(new_text);