mirror of
https://github.com/gwm17/glfw.git
synced 2025-01-31 03:18:50 -05:00
Cocoa: Fix console apps getting a dock icon
Regression introduced by @elmindreda in
8b11867464
.
This commit is contained in:
parent
9477311130
commit
6de084000b
|
@ -555,6 +555,7 @@ int _glfwPlatformInit(void)
|
||||||
[NSApp run];
|
[NSApp run];
|
||||||
|
|
||||||
// In case we are unbundled, make us a proper UI application
|
// In case we are unbundled, make us a proper UI application
|
||||||
|
if (_glfw.hints.init.ns.menubar)
|
||||||
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
|
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
|
||||||
|
|
||||||
return GLFW_TRUE;
|
return GLFW_TRUE;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user