gdkkeys-win32: Add keysym mapping for capslock key

Add missing mapping between VK_CAPITAL and GDK_KEY_Caps_Lock, so
applications get a meaningful keyval rather than ffffff.
This commit is contained in:
Philip Zander
2022-01-09 09:09:35 +01:00
parent acf5db32f1
commit 404229ad75

View File

@ -320,7 +320,8 @@ clear_keyboard_layout_info (gpointer data)
map (VK_SCROLL, GDK_KEY_Scroll_Lock) \
map (VK_RSHIFT, GDK_KEY_Shift_R) \
map (VK_RCONTROL, GDK_KEY_Control_R) \
map (VK_RMENU, GDK_KEY_Alt_R)
map (VK_RMENU, GDK_KEY_Alt_R) \
map (VK_CAPITAL, GDK_KEY_Caps_Lock)
#define DEFINE_DEAD(map) \