[PATCH] dlls/winex11.drv: Do not assign reserved virtual key 0xE0 to key codes.

Timo Zuccarello timo at zuccarello.eu
Wed Apr 13 09:04:18 CDT 2022


Signed-off-by: Timo Zuccarello <timo at zuccarello.eu>
---
 dlls/winex11.drv/keyboard.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c
index de849066b95..a54a69c4035 100644
--- a/dlls/winex11.drv/keyboard.c
+++ b/dlls/winex11.drv/keyboard.c
@@ -1586,7 +1586,8 @@ void X11DRV_InitKeyboard( Display *display )
         WORD first, last;
     } vkey_ranges[] = {
         { VK_OEM_1, VK_OEM_3 },
-        { VK_OEM_4, VK_ICO_00 },
+        { VK_OEM_4, VK_OEM_8 },
+        { VK_OEM_AX, VK_ICO_00 },
         { 0xe6, 0xe6 },
         { 0xe9, 0xf5 },
         { VK_OEM_NEC_EQUAL, VK_OEM_NEC_EQUAL },
-- 
2.35.1




More information about the wine-devel mailing list