Add GLFW_COCOA_FRAME_AUTOSAVE

Fixes #195.
This commit is contained in:
Camilla Löwy
2017-01-01 19:41:50 +01:00
parent 0f488ac286
commit 4661315192
6 changed files with 20 additions and 0 deletions
+3
View File
@@ -1036,6 +1036,9 @@ static GLFWbool createNativeWindow(_GLFWwindow* window,
[window->ns.object zoom:nil];
}
if (wndconfig->ns.frame)
[window->ns.object setFrameAutosaveName:[NSString stringWithUTF8String:wndconfig->title]];
window->ns.view = [[GLFWContentView alloc] initWithGlfwWindow:window];
if (wndconfig->ns.retina)