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:
@@ -59,6 +59,7 @@ int main(int argc, char** argv)
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE);
|
||||
glfwWindowHint(GLFW_WIN32_KEYBOARD_MENU, GLFW_TRUE);
|
||||
|
||||
window = glfwCreateWindow(400, 400, "Opacity", NULL, NULL);
|
||||
if (!window)
|
||||
|
||||
Reference in New Issue
Block a user