From 673214bb7df95c40ca390b032de100517ac816e1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 27 Jul 2011 18:25:44 +0200 Subject: [PATCH] updated for version 7.3.266 Problem: In Gvim with iBus typing space in Insert mode doesn't work. Solution: Clear xim_expected_char after checking it. --- src/mbyte.c | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/mbyte.c b/src/mbyte.c index 88599264b0..44d89f7947 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -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; } diff --git a/src/version.c b/src/version.c index 525484774e..f6471cf449 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 266, /**/ 265, /**/