If the window's transparent it also needs to be textured.
authorjoshaber <joshaber@gmail.com>
Wed, 13 May 2015 01:05:48 +0000 (21:05 -0400)
committerjoshaber <joshaber@gmail.com>
Wed, 13 May 2015 01:05:48 +0000 (21:05 -0400)
atom/browser/native_window_mac.mm

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