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:
Camilla Löwy
2019-08-20 19:00:59 +02:00
parent de23429455
commit 8e288dc94c
12 changed files with 45 additions and 1 deletions
+3
View File
@@ -363,6 +363,9 @@ GLFWAPI void glfwWindowHint(int hint, int value)
case GLFW_COCOA_RETINA_FRAMEBUFFER:
_glfw.hints.window.ns.retina = value ? GLFW_TRUE : GLFW_FALSE;
return;
case GLFW_WIN32_KEYBOARD_MENU:
_glfw.hints.window.win32.keymenu = value ? GLFW_TRUE : GLFW_FALSE;
return;
case GLFW_COCOA_GRAPHICS_SWITCHING:
_glfw.hints.context.nsgl.offline = value ? GLFW_TRUE : GLFW_FALSE;
return;