Skip to content

Commit 4fc733a

Browse files
committed
Comment commented out code back in
This piece of code is not run when the `GLFW_COCOA_MENUBAR` init hint is set to `0`, which kitty does. This reduces the difference to GLFW upstream a little.
1 parent c5c59e4 commit 4fc733a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

glfw/cocoa_init.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,14 +470,13 @@ - (void)applicationWillFinishLaunching:(NSNotification *)notification
470470
// finishLaunching below, in order to properly emulate the behavior
471471
// of NSApplicationMain
472472

473-
// disabled by Kovid
474-
/* if ([[NSBundle mainBundle] pathForResource:@"MainMenu" ofType:@"nib"])
473+
if ([[NSBundle mainBundle] pathForResource:@"MainMenu" ofType:@"nib"])
475474
{
476475
[[NSBundle mainBundle] loadNibNamed:@"MainMenu"
477476
owner:NSApp
478477
topLevelObjects:&_glfw.ns.nibObjects];
479478
}
480-
else */
479+
else
481480
createMenuBar();
482481
}
483482
if (finish_launching_callback)

0 commit comments

Comments
 (0)