Skip to content

Commit

Permalink
Merge pull request electron#1670 from joshaber/infer-textured
Browse files Browse the repository at this point in the history
Use the textured window if it's transparent
  • Loading branch information
zcbenz committed May 19, 2015
2 parents b4403fa + 76d33c3 commit ec5d05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atom/browser/native_window_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ - (void)drawRect:(NSRect)dirtyRect {

NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask |
NSMiniaturizableWindowMask | NSResizableWindowMask;
if (!useStandardWindow) {
if (!useStandardWindow || transparent_ || !has_frame_) {
styleMask |= NSTexturedBackgroundWindowMask;
}

Expand Down

0 comments on commit ec5d05e

Please sign in to comment.