From: Bram Moolenaar Date: Wed, 27 May 2020 20:08:34 +0000 (+0200) Subject: patch 8.2.0833: mapping doesn't work in the GUI X-Git-Tag: v8.2.0833 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca5bc746073b6fd4b7651bc02f7a18b1b43bd4ca;p=thirdparty%2Fvim.git patch 8.2.0833: mapping doesn't work in the GUI Problem: Mapping doesn't work in the GUI. Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150) --- diff --git a/src/gui.c b/src/gui.c index 93b8bb63f4..a7216fcf6e 100644 --- a/src/gui.c +++ b/src/gui.c @@ -803,6 +803,8 @@ gui_init(void) if (!p_beval) gui_mch_disable_beval_area(balloonEval); #endif + // In case the terminal was used before ":gui". + seenModifyOtherKeys = FALSE; #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) if (!im_xim_isvalid_imactivate()) diff --git a/src/version.c b/src/version.c index 463025c97c..44f7f26c43 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 833, /**/ 832, /**/