mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +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:
@@ -101,6 +101,7 @@ int main(int argc, char** argv)
|
||||
monitor = glfwGetPrimaryMonitor();
|
||||
|
||||
glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE);
|
||||
glfwWindowHint(GLFW_WIN32_KEYBOARD_MENU, GLFW_TRUE);
|
||||
|
||||
window = glfwCreateWindow(800, 400, "Gamma Test", NULL, NULL);
|
||||
if (!window)
|
||||
|
||||
Reference in New Issue
Block a user