changeset 20633:244ef6caf671 v8.2.0870

patch 8.2.0870: MS-Windows: Control keys don't work in the GUI Commit: https://github.com/vim/vim/commit/ad772a63ec3bc86fe9d53cba783812f53470a313 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 1 14:07:49 2020 +0200 patch 8.2.0870: MS-Windows: Control keys don't work in the GUI Problem: MS-Windows: Control keys don't work in the GUI. Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto, closes #6175)
author Bram Moolenaar <Bram@vim.org>
date Mon, 01 Jun 2020 14:15:04 +0200
parents f8940db0dd14
children 524fb8e122ba
files src/gui.c src/version.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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())
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    870,
+/**/
     869,
 /**/
     868,