diff options
author | Bram Moolenaar <bram@vim.org> | 2011-07-27 18:25:44 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2011-07-27 18:25:44 +0200 |
commit | e81ccc43c82790ebec2cc8e63cbac29f9f74d4a1 (patch) | |
tree | 8077d6638689b5b50eb565ec1e0696c1cd096b80 | |
parent | 7cb32a12c2246bd91637a638fd03e44cc598338b (diff) | |
download | vim-e81ccc43c82790ebec2cc8e63cbac29f9f74d4a1.tar.gz |
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.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mbyte.c b/src/mbyte.c index 88599264..44d89f79 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 52548477..f6471cf4 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, |