To: [email protected]
Subject: Patch 6.1a.033
Fcc: outbox
From: Bram Moolenaar <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 6.1a.033
Problem:    XIM: doesn't reset input context.
Solution:   call xim_reset() with im_set_active(FALSE). (Takuhiro Nishioka)
Files:      src/mbyte.c


*** ../vim61a.032/src/mbyte.c   Tue Mar  5 21:01:23 2002
--- src/mbyte.c Tue Mar  5 22:49:10 2002
***************
*** 2851,2856 ****
--- 2851,2857 ----
                * that destroy old IC (input context), and create new one.
                * When create new IC, its preedit state is usually off.
                */
+               xim_reset();
               xim_set_focus(FALSE);
               gdk_ic_destroy(xic);
               xim_init();
***************
*** 3659,3667 ****
       int             len;
 #ifdef FEAT_MBYTE
       char_u          *buf = NULL;
 #endif
       char_u          *ptr;
-       unsigned int    nfeedback = 0;

       src = text->string.multi_byte;
       if (src != NULL && !text->encoding_is_wchar)
--- 3660,3668 ----
       int             len;
 #ifdef FEAT_MBYTE
       char_u          *buf = NULL;
+       unsigned int    nfeedback = 0;
 #endif
       char_u          *ptr;

       src = text->string.multi_byte;
       if (src != NULL && !text->encoding_is_wchar)
*** ../vim61a.032/src/version.c Thu Mar  7 19:57:27 2002
--- src/version.c       Thu Mar  7 20:00:42 2002
***************
*** 608,609 ****
--- 608,611 ----
 {   /* Add new patch number below this line */
+ /**/
+     33,
 /**/

--
hundred-and-one symptoms of being an internet addict:
181. You make up words that go with the "happy tune" your modem makes
    while dialing your ISP.

///  Bram Moolenaar -- [email protected] -- http://www.moolenaar.net  \\\
///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
\\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
\\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///