Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // need to restore key focus on the app
- GLFWwindow * appWindow = glfwGetCurrentContext();
- if(appWindow) {
- NSWindow * nativeWindow = glfwGetCocoaWindow(appWindow);
- [nativeWindow makeKeyAndOrderFront:nil];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement