From ca5bc746073b6fd4b7651bc02f7a18b1b43bd4ca Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 27 May 2020 22:08:34 +0200 Subject: 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) --- src/gui.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui.c') 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()) -- cgit v1.2.3