|
@@ -1721,6 +1721,9 @@ void NativeWindowMac::NotifyWindowEnterFullScreen() {
|
|
|
// Restore the window title under fullscreen mode.
|
|
|
if (buttons_proxy_)
|
|
|
[window_ setTitleVisibility:NSWindowTitleVisible];
|
|
|
+
|
|
|
+ if (transparent() || !has_frame())
|
|
|
+ [window_ setTitlebarAppearsTransparent:NO];
|
|
|
}
|
|
|
|
|
|
void NativeWindowMac::NotifyWindowLeaveFullScreen() {
|
|
@@ -1730,6 +1733,9 @@ void NativeWindowMac::NotifyWindowLeaveFullScreen() {
|
|
|
[buttons_proxy_ redraw];
|
|
|
[buttons_proxy_ setVisible:YES];
|
|
|
}
|
|
|
+
|
|
|
+ if (transparent() || !has_frame())
|
|
|
+ [window_ setTitlebarAppearsTransparent:YES];
|
|
|
}
|
|
|
|
|
|
void NativeWindowMac::NotifyWindowWillEnterFullScreen() {
|