]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.266 v7.3.266
authorBram Moolenaar <Bram@vim.org>
Wed, 27 Jul 2011 16:25:44 +0000 (18:25 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 27 Jul 2011 16:25:44 +0000 (18:25 +0200)
Problem:    In Gvim with iBus typing space in Insert mode doesn't work.
Solution:   Clear xim_expected_char after checking it.

src/mbyte.c
src/version.c

index 88599264b004b61ebc08684de34cb989016c0d8d..44d89f794772036a7904b11ebfa916a4abe30e2f 100644 (file)
@@ -5170,6 +5170,10 @@ xim_queue_key_press_event(GdkEventKey *event, int down)
                /* We had a keypad key, and XIM tried to thieve it */
                return FALSE;
 
+           /* This is supposed to fix a problem with iBus, that space
+            * characters don't work in input mode. */
+           xim_expected_char = NUL;
+
            /* Normal processing */
            return imresult;
        }
index 525484774e333c3e7450eb5be7f1f19d62155dea..f6471cf4497a8688535e35b21ec22f9996cdb416 100644 (file)
@@ -709,6 +709,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    266,
 /**/
     265,
 /**/