Cocoa: Fix console apps getting a dock icon

Regression introduced by @elmindreda in
8b11867464.
This commit is contained in:
Camilla Löwy 2021-02-10 17:23:43 +01:00
parent 9477311130
commit 6de084000b

View File

@ -555,6 +555,7 @@ int _glfwPlatformInit(void)
[NSApp run];
// In case we are unbundled, make us a proper UI application
if (_glfw.hints.init.ns.menubar)
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
return GLFW_TRUE;