mirror of
https://github.com/glfw/glfw.git
synced 2026-11-21 06:02:19 +00:00
Win32: Add GLFW_WIN32_KEYBOARD_MENU
This platform specific window hint enables access to the Windows window menu via the keyboard shortcuts.
This commit is contained in:
@@ -182,6 +182,7 @@ int main(void)
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE);
|
||||
glfwWindowHint(GLFW_WIN32_KEYBOARD_MENU, GLFW_TRUE);
|
||||
|
||||
window = glfwCreateWindow(800, 600, "Joystick Test", NULL, NULL);
|
||||
if (!window)
|
||||
|
||||
Reference in New Issue
Block a user