Disabled window restoration on Cocoa.

This commit is contained in:
Camilla Berglund
2012-07-02 15:24:02 +02:00
parent e7c4e77214
commit 34c93a5124
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -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;
}