mirror of
https://github.com/glfw/glfw.git
synced 2025-04-07 22:43:06 +00:00
Fix view not being made first responder
This commit is contained in:
parent
cdea4209fc
commit
9a78fd049d
1 changed files with 1 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue