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 */
|
/* Keyboard buttons */
|
||||||
case WM_SYSKEYUP:
|
case WM_SYSKEYUP:
|
||||||
case WM_SYSKEYDOWN: {
|
case WM_SYSKEYDOWN: {
|
||||||
|
if (LOWORD(wparam) != VK_MENU) {
|
||||||
result = DefWindowProcW(hwnd, msg, wparam, lparam);
|
result = DefWindowProcW(hwnd, msg, wparam, lparam);
|
||||||
|
}
|
||||||
} FALLTHROUGH;
|
} FALLTHROUGH;
|
||||||
case WM_KEYUP:
|
case WM_KEYUP:
|
||||||
case WM_KEYDOWN: {
|
case WM_KEYDOWN: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user