]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.0833: mapping <C-bslash> doesn't work in the GUI v8.2.0833
authorBram Moolenaar <Bram@vim.org>
Wed, 27 May 2020 20:08:34 +0000 (22:08 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 27 May 2020 20:08:34 +0000 (22:08 +0200)
Problem:    Mapping <C-bslash> doesn't work in the GUI.
Solution:   Reset seenModifyOtherKeys when starting the GUI. (closes #6150)

src/gui.c
src/version.c

index 93b8bb63f438d18af2e9d457026ad19ee639982d..a7216fcf6ea292251941d85de51889ee64b80e16 100644 (file)
--- 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())
index 463025c97c53dd3a129ea83b137c01e313d74320..44f7f26c43abadc031d61a9e2e1433431570c66f 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    833,
 /**/
     832,
 /**/