From 36de6d3ce345e9452c598a6bb6e69cf9de170eb2 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 5 Jun 2013 13:11:00 +0200 Subject: [PATCH] Fixed AltGr on Windows. --- src/win32_window.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/win32_window.c b/src/win32_window.c index 6d580d8c..ec54dc28 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -204,7 +204,9 @@ static int translateKey(WPARAM wParam, LPARAM lParam) if (PeekMessage(&next, NULL, 0, 0, PM_NOREMOVE)) { if (next.message == WM_KEYDOWN || - next.message == WM_SYSKEYDOWN) + next.message == WM_SYSKEYDOWN || + next.message == WM_KEYUP || + next.message == WM_SYSKEYUP) { if (next.wParam == VK_MENU && (next.lParam & 0x01000000) &&