summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-07-27 18:25:44 +0200
committerBram Moolenaar <Bram@vim.org>2011-07-27 18:25:44 +0200
commit673214bb7df95c40ca390b032de100517ac816e1 (patch)
treeacf6d03c9bae73bb665d601def1e56edd3a25eba
parent4c402236492052e0b6b1ba555450aafe82da8875 (diff)
updated for version 7.3.266v7.3.266
Problem: In Gvim with iBus typing space in Insert mode doesn't work. Solution: Clear xim_expected_char after checking it.
-rw-r--r--src/mbyte.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
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
@@ -710,6 +710,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 266,
+/**/
265,
/**/
264,