mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Disabled window restoration on Cocoa.
This commit is contained in:
@@ -693,6 +693,9 @@ static GLboolean createWindow(_GLFWwindow* window,
|
||||
[window->NS.object setAcceptsMouseMovedEvents:YES];
|
||||
[window->NS.object center];
|
||||
|
||||
if ([window->NS.object respondsToSelector:@selector(setRestorable)])
|
||||
[window->NS.object setRestorable:NO];
|
||||
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user