From: joshaber Date: Wed, 13 May 2015 01:05:48 +0000 (-0400) Subject: If the window's transparent it also needs to be textured. X-Git-Tag: v0.26.1~23^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=033f9bcceddfc21c0d82e8759d5d948860c908c9;p=electron.git If the window's transparent it also needs to be textured. --- diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index 8dd6bcba..2a5813c1 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -315,7 +315,7 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents, NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask | NSResizableWindowMask; - if (!useStandardWindow) { + if (!useStandardWindow || transparent_) { styleMask |= NSTexturedBackgroundWindowMask; }