summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-27 22:08:34 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-27 22:08:34 +0200
commitca5bc746073b6fd4b7651bc02f7a18b1b43bd4ca (patch)
tree063e03573f9d4292a5b5cc6897abcd1e30005ffc /src/gui.c
parenta55ba06f6904af3d6a78fc90358cf72d4f2e8450 (diff)
patch 8.2.0833: mapping <C-bslash> doesn't work in the GUIv8.2.0833
Problem: Mapping <C-bslash> doesn't work in the GUI. Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c2
1 files changed, 2 insertions, 0 deletions
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())