Don't add the "Enter Full Screen" menu item automatically

This commit is contained in:
Cheng Zhao 2015-12-10 11:27:41 +08:00
parent 388a18b265
commit 2d940b7df7

View file

@ -21,6 +21,9 @@
} }
- (void)applicationWillFinishLaunching:(NSNotification*)notify { - (void)applicationWillFinishLaunching:(NSNotification*)notify {
// Don't add the "Enter Full Screen" menu item automatically.
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"NSFullScreenMenuItemEverywhere"];
atom::Browser::Get()->WillFinishLaunching(); atom::Browser::Get()->WillFinishLaunching();
} }