mac: Make "standard-window" option default to true
authorCheng Zhao <zcbenz@gmail.com>
Sun, 10 May 2015 13:14:37 +0000 (21:14 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sun, 10 May 2015 13:16:08 +0000 (21:16 +0800)
atom/browser/native_window_mac.mm
docs/api/browser-window.md

index 6b321d1..8dd6bcb 100644 (file)
@@ -310,7 +310,7 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents,
       width,
       height);
 
-  bool useStandardWindow = false;
+  bool useStandardWindow = true;
   options.Get(switches::kStandardWindow, &useStandardWindow);
 
   NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask |
index d2854fc..5d04ed2 100644 (file)
@@ -72,8 +72,8 @@ You can also create a window without chrome by using
   * `type` String - Specifies the type of the window, possible types are
     `desktop`, `dock`, `toolbar`, `splash`, `notification`. This only works on
     Linux.
-  * `standard-window` Boolean - Use the OS X's standard window instead of the
-    textured window. Defaults to `false`.
+  * `standard-window` Boolean - Uses the OS X's standard window instead of the
+    textured window. Defaults to `true`.
   * `web-preferences` Object - Settings of web page's features
     * `javascript` Boolean
     * `web-security` Boolean