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 -- b...@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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220731112642.E671E1C0772%40moolenaar.net.

Raspunde prin e-mail lui