summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-01 14:07:49 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-01 14:07:49 +0200
commitad772a63ec3bc86fe9d53cba783812f53470a313 (patch)
tree43ccf22d0b674ef6e31736a7e93cf4c60f66c234 /src/gui.c
parent858ba06d5f577b187da0367b231f7fa9461cb32d (diff)
downloadvim-git-ad772a63ec3bc86fe9d53cba783812f53470a313.tar.gz
patch 8.2.0870: MS-Windows: Control keys don't work in the GUIv8.2.0870
Problem: MS-Windows: Control keys don't work in the GUI. Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto, closes #6175)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index 3df992148..dc408bb88 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -803,8 +803,13 @@ gui_init(void)
if (!p_beval)
gui_mch_disable_beval_area(balloonEval);
#endif
+
+#ifndef FEAT_GUI_MSWIN
// In the GUI modifiers are prepended to keys.
+ // Don't do this for MS-Windows yet, it sends CTRL-K without the
+ // modifier.
seenModifyOtherKeys = TRUE;
+#endif
#if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
if (!im_xim_isvalid_imactivate())