]> khamidou — GitHub mirrors - electron.git/commitdiff
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 8dd6bcbacbe1e423ccbcb6193e46aec5edce4a9d..2a5813c1072e9c3783949068dd7de5be8dbb39a7 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;
   }