Ken Thomases : winex11.drv: Map Meta keys to VK_{L, R}MENU, not just VK_MENU.
Alexandre Julliard
julliard at winehq.org
Wed Jul 13 12:16:33 CDT 2011
Module: wine
Branch: master
Commit: ebebee5b9e4e0929c971e9b2a4ffb70950b737cd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ebebee5b9e4e0929c971e9b2a4ffb70950b737cd
Author: Ken Thomases <ken at codeweavers.com>
Date: Wed Jul 13 06:03:49 2011 -0500
winex11.drv: Map Meta keys to VK_{L, R}MENU, not just VK_MENU.
This fixes a problem with X11DRV_KeymapNotify sending incorrect key-up events.
---
dlls/winex11.drv/keyboard.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c
index 5648d79..7c229fd 100644
--- a/dlls/winex11.drv/keyboard.c
+++ b/dlls/winex11.drv/keyboard.c
@@ -1006,8 +1006,8 @@ static const WORD nonchar_key_vkey[256] =
0, 0, 0, 0, 0, 0, 0, 0, /* FFD8 */
/* modifier keys */
0, VK_LSHIFT, VK_RSHIFT, VK_LCONTROL, /* FFE0 */
- VK_RCONTROL, VK_CAPITAL, 0, VK_MENU,
- VK_MENU, VK_LMENU, VK_RMENU, VK_LWIN, VK_RWIN, 0, 0, 0, /* FFE8 */
+ VK_RCONTROL, VK_CAPITAL, 0, VK_LMENU,
+ VK_RMENU, VK_LMENU, VK_RMENU, VK_LWIN, VK_RWIN, 0, 0, 0, /* FFE8 */
0, 0, 0, 0, 0, 0, 0, 0, /* FFF0 */
0, 0, 0, 0, 0, 0, 0, VK_DELETE /* FFF8 */
};
More information about the wine-cvs
mailing list