projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
388a18b
)
Don't add the "Enter Full Screen" menu item automatically
author
Cheng Zhao
<zcbenz@gmail.com>
Thu, 10 Dec 2015 03:27:41 +0000
(11:27 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Thu, 10 Dec 2015 03:27:41 +0000
(11:27 +0800)
atom/browser/mac/atom_application_delegate.mm
patch
|
blob
|
history
diff --git
a/atom/browser/mac/atom_application_delegate.mm
b/atom/browser/mac/atom_application_delegate.mm
index a18d2fe40fcda2d9ecf29d07fd9f8786ac3c4e8d..7662162ab6180e7ff56fe0ea6f5cbd2dc3781001 100644
(file)
--- 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();
}