mirror of
https://github.com/glfw/glfw.git
synced 2025-10-05 06:06:36 +00:00
#fix: disable system default ALT process
solve dead block problem when glfw-window is a cross-thread child window.
This commit is contained in:
parent
e81f4b29db
commit
81497c6db4
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user