fix alt key handling in win32 message loop
This commit is contained in:
parent
987842e130
commit
657d8206fc
@ -1015,7 +1015,9 @@ INTERNAL LRESULT CALLBACK win32_window_proc(HWND hwnd, UINT msg, WPARAM wparam,
|
||||
/* Keyboard buttons */
|
||||
case WM_SYSKEYUP:
|
||||
case WM_SYSKEYDOWN: {
|
||||
result = DefWindowProcW(hwnd, msg, wparam, lparam);
|
||||
if (LOWORD(wparam) != VK_MENU) {
|
||||
result = DefWindowProcW(hwnd, msg, wparam, lparam);
|
||||
}
|
||||
} FALLTHROUGH;
|
||||
case WM_KEYUP:
|
||||
case WM_KEYDOWN: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user