mirror of
https://github.com/glfw/glfw.git
synced 2025-10-05 06:06:36 +00:00
Update win32_window.c
solve dead block problem when glfw-window is a cross-thread child window
This commit is contained in:
parent
81497c6db4
commit
e2ac93ef8f
@ -566,10 +566,10 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
|
|||||||
else
|
else
|
||||||
_glfwInputKey(window, key, scancode, action, mods);
|
_glfwInputKey(window, key, scancode, action, mods);
|
||||||
|
|
||||||
if(wParam == VK_MENU) {
|
if(wParam == VK_MENU || wParam == VK_F10) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
break; // #fix: disable system default ALT process, solve dead block problem when glfw-window is a cross-thread child window.
|
break; // #fix: disable system default ALT/F10 process, solve dead block problem when glfw-window is a cross-thread child window.
|
||||||
}
|
}
|
||||||
|
|
||||||
case WM_LBUTTONDOWN:
|
case WM_LBUTTONDOWN:
|
||||||
|
Loading…
Reference in New Issue
Block a user