If the window's transparent it also needs to be textured.
This commit is contained in:
parent
1c97fc79ad
commit
033f9bcced
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents,
|
||||||
|
|
||||||
NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask |
|
NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask |
|
||||||
NSMiniaturizableWindowMask | NSResizableWindowMask;
|
NSMiniaturizableWindowMask | NSResizableWindowMask;
|
||||||
if (!useStandardWindow) {
|
if (!useStandardWindow || transparent_) {
|
||||||
styleMask |= NSTexturedBackgroundWindowMask;
|
styleMask |= NSTexturedBackgroundWindowMask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue