Use the textured window for the frameless case too.
This commit is contained in:
parent
033f9bcced
commit
76d33c37d7
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 || transparent_) {
|
if (!useStandardWindow || transparent_ || !has_frame_) {
|
||||||
styleMask |= NSTexturedBackgroundWindowMask;
|
styleMask |= NSTexturedBackgroundWindowMask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue