From: joshaber Date: Wed, 13 May 2015 01:11:43 +0000 (-0400) Subject: Use the textured window for the frameless case too. X-Git-Tag: v0.26.1~23^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=76d33c37d7fb74e898d56b5a28fd2669e4f9d362;p=electron.git Use the textured window for the frameless case too. --- diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index 2a5813c1..a9ff57d8 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 || transparent_) { + if (!useStandardWindow || transparent_ || !has_frame_) { styleMask |= NSTexturedBackgroundWindowMask; }