Mercurial > vim
diff src/mbyte.c @ 2988:25be7c9dda54 v7.3.266
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.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 27 Jul 2011 18:25:44 +0200 |
parents | c21429d7768c |
children | 7d4e5e31d8c1 |
line wrap: on
line diff
--- a/src/mbyte.c +++ b/src/mbyte.c @@ -5170,6 +5170,10 @@ xim_queue_key_press_event(GdkEventKey *e /* 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; }