From: Bram Moolenaar Date: Wed, 27 Jul 2011 16:25:44 +0000 (+0200) Subject: updated for version 7.3.266 X-Git-Tag: v7.3.266 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=673214bb7df95c40ca390b032de100517ac816e1;p=vim 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 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; } diff --git a/src/version.c b/src/version.c index 525484774..f6471cf44 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 266, /**/ 265, /**/