From: Cheng Zhao Date: Thu, 10 Dec 2015 03:27:41 +0000 (+0800) Subject: Don't add the "Enter Full Screen" menu item automatically X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d940b7df7ca7e842eec94769f451afe88fab542;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Don't add the "Enter Full Screen" menu item automatically --- diff --git a/atom/browser/mac/atom_application_delegate.mm b/atom/browser/mac/atom_application_delegate.mm index a18d2fe..7662162 100644 --- a/atom/browser/mac/atom_application_delegate.mm +++ b/atom/browser/mac/atom_application_delegate.mm @@ -21,6 +21,9 @@ } - (void)applicationWillFinishLaunching:(NSNotification*)notify { + // Don't add the "Enter Full Screen" menu item automatically. + [[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"NSFullScreenMenuItemEverywhere"]; + atom::Browser::Get()->WillFinishLaunching(); }