1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Fix view not being made first responder

This commit is contained in:
Camilla Berglund 2016-03-16 14:48:53 +01:00
parent cdea4209fc
commit 9a78fd049d

View File

@ -965,6 +965,7 @@ static GLFWbool createWindow(_GLFWwindow* window,
[window->ns.view setWantsBestResolutionOpenGLSurface:YES];
#endif /*_GLFW_USE_RETINA*/
[window->ns.object makeFirstResponder:window->ns.view];
[window->ns.object setTitle:[NSString stringWithUTF8String:wndconfig->title]];
[window->ns.object setDelegate:window->ns.delegate];
[window->ns.object setAcceptsMouseMovedEvents:YES];