To: vim_dev@googlegroups.com Subject: Patch 9.0.0120 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0120 Problem: MS-Windows GUI: cannot use AltGr + Space. Solution: Check for VK_MENU instead of VK_LMENU. (Anton Sharonov, closes #10820, closes #10753) Files: src/gui_w32.c *** ../vim-9.0.0119/src/gui_w32.c 2022-07-26 21:26:14.004747836 +0100 --- src/gui_w32.c 2022-07-31 12:22:10.565060744 +0100 *************** *** 2047,2053 **** { // ignore VK_SPACE when ALT key pressed: system menu if (special_keys[i].key_sym == vk ! && (vk != VK_SPACE || !(GetKeyState(VK_LMENU) & 0x8000))) { /* * Behave as expected if we have a dead key and the special key --- 2047,2053 ---- { // ignore VK_SPACE when ALT key pressed: system menu if (special_keys[i].key_sym == vk ! && (vk != VK_SPACE || !(GetKeyState(VK_MENU) & 0x8000))) { /* * Behave as expected if we have a dead key and the special key *************** *** 2055,2061 **** * character output (such as a NUMPAD printable character or * the TAB key, etc...). */ ! if (dead_key == DEAD_KEY_SET_DEFAULT && (special_keys[i].vim_code0 == 'K' || vk == VK_TAB || vk == CAR)) { outputDeadKey_rePost(msg); --- 2055,2062 ---- * character output (such as a NUMPAD printable character or * the TAB key, etc...). */ ! if (dead_key == DEAD_KEY_SET_DEFAULT ! && (special_keys[i].vim_code0 == 'K' || vk == VK_TAB || vk == CAR)) { outputDeadKey_rePost(msg); *** ../vim-9.0.0119/src/version.c 2022-07-31 11:50:37.437635544 +0100 --- src/version.c 2022-07-31 12:23:54.892625509 +0100 *************** *** 737,738 **** --- 737,740 ---- { /* Add new patch number below this line */ + /**/ + 120, /**/ -- hundred-and-one symptoms of being an internet addict: 207. You're given one phone call in prison and you ask them for a laptop. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///