Patch 8.2.4811 (after 8.2.4807)
Problem:    Win32 GUI: caps lock doesn't work.
Solution:   Handle VK_CAPITAL. (closes #10260, closes #10258)
Files:      src/gui_w32.c


*** ../vim-8.2.4810/src/gui_w32.c       2022-04-22 22:45:47.036948588 +0100
--- src/gui_w32.c       2022-04-23 11:06:34.217600454 +0100
***************
*** 2049,2054 ****
--- 2049,2056 ----
            memset(keyboard_state, 0, 256);
            if (GetKeyState(VK_SHIFT) & 0x8000)
                keyboard_state[VK_SHIFT] = 0x80;
+           if (GetKeyState(VK_CAPITAL) & 0x0001)
+               keyboard_state[VK_CAPITAL] = 0x01;
            if (GetKeyState(VK_RMENU) & 0x8000)
            {
                keyboard_state[VK_MENU] = 0x80;
*** ../vim-8.2.4810/src/version.c       2022-04-23 11:03:55.093928150 +0100
--- src/version.c       2022-04-23 11:07:51.533441157 +0100
***************
*** 748,749 ****
--- 748,751 ----
  {   /* Add new patch number below this line */
+ /**/
+     4811,
  /**/

-- 
You have the right to remain silent. Anything you say will be
misquoted, then used against you.

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220423100844.7AB461C43E2%40moolenaar.net.

Raspunde prin e-mail lui