Commit ebebee5b authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

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.
parent c4daf281
...@@ -1006,8 +1006,8 @@ static const WORD nonchar_key_vkey[256] = ...@@ -1006,8 +1006,8 @@ static const WORD nonchar_key_vkey[256] =
0, 0, 0, 0, 0, 0, 0, 0, /* FFD8 */ 0, 0, 0, 0, 0, 0, 0, 0, /* FFD8 */
/* modifier keys */ /* modifier keys */
0, VK_LSHIFT, VK_RSHIFT, VK_LCONTROL, /* FFE0 */ 0, VK_LSHIFT, VK_RSHIFT, VK_LCONTROL, /* FFE0 */
VK_RCONTROL, VK_CAPITAL, 0, VK_MENU, VK_RCONTROL, VK_CAPITAL, 0, VK_LMENU,
VK_MENU, VK_LMENU, VK_RMENU, VK_LWIN, VK_RWIN, 0, 0, 0, /* FFE8 */ 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, 0, /* FFF0 */
0, 0, 0, 0, 0, 0, 0, VK_DELETE /* FFF8 */ 0, 0, 0, 0, 0, 0, 0, VK_DELETE /* FFF8 */
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment