]> khamidou — GitHub mirrors - electron.git/commitdiff
Use the textured window for the frameless case too.
authorjoshaber <joshaber@gmail.com>
Wed, 13 May 2015 01:11:43 +0000 (21:11 -0400)
committerjoshaber <joshaber@gmail.com>
Wed, 13 May 2015 01:11:43 +0000 (21:11 -0400)
atom/browser/native_window_mac.mm

index 2a5813c1072e9c3783949068dd7de5be8dbb39a7..a9ff57d8d279e7d6bcc79f2b7527b52a0f46968a 100644 (file)
@@ -315,7 +315,7 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents,
 
   NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask |
                          NSMiniaturizableWindowMask | NSResizableWindowMask;
-  if (!useStandardWindow || transparent_) {
+  if (!useStandardWindow || transparent_ || !has_frame_) {
     styleMask |= NSTexturedBackgroundWindowMask;
   }