#fix: disable system default ALT process

solve dead block problem when glfw-window is a cross-thread child window.
This commit is contained in:
halx99 2016-06-25 01:41:20 +08:00 committed by GitHub
parent e81f4b29db
commit 81497c6db4

View File

@ -566,7 +566,10 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
else else
_glfwInputKey(window, key, scancode, action, mods); _glfwInputKey(window, key, scancode, action, mods);
break; if(wParam == VK_MENU) {
return 0;
}
break; // #fix: disable system default ALT process, solve dead block problem when glfw-window is a cross-thread child window.
} }
case WM_LBUTTONDOWN: case WM_LBUTTONDOWN: