# HG changeset patch # User Bram Moolenaar # Date 1311783944 -7200 # Node ID 25be7c9dda549e4cfa1eb57937dc2b38b3d1e997 # Parent b38da864b9a2a8178f84b0fef250f689ee8421b9 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. diff --git a/src/mbyte.c b/src/mbyte.c --- 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; } diff --git a/src/version.c b/src/version.c --- 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,