[uim-commit] r1505 - trunk/uim

yamamoto at freedesktop.org yamamoto at freedesktop.org
Fri Sep 16 09:32:00 PDT 2005


Author: yamamoto
Date: 2005-09-16 09:31:57 -0700 (Fri, 16 Sep 2005)
New Revision: 1505

Modified:
   trunk/uim/uim.c
Log:
[bug fix]
* uim/uim.c:
 -(uim_switch_im): Call uim_update_preedit_segments to clear preedit.


Modified: trunk/uim/uim.c
===================================================================
--- trunk/uim/uim.c	2005-09-16 04:43:42 UTC (rev 1504)
+++ trunk/uim/uim.c	2005-09-16 16:31:57 UTC (rev 1505)
@@ -231,6 +231,7 @@
 
   UIM_EVAL_FSTRING1(uc, "(release-context %d)", uc->id);
   uim_release_preedit_segments(uc);
+  uim_update_preedit_segments(uc);
 
   UIM_EVAL_FSTRING2(uc, "(create-context %d #f '%s)", id, engine);
   if (uc->current_im_name)



More information about the uim-commit mailing list