summaryrefslogtreecommitdiff
path: root/src/mbyte.c
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 /src/mbyte.c
parent4c402236492052e0b6b1ba555450aafe82da8875 (diff)
downloadvim-git-673214bb7df95c40ca390b032de100517ac816e1.tar.gz
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.
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 88599264b..44d89f794 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;
}