diff --git a/shell/browser/native_window_mac.mm b/shell/browser/native_window_mac.mm index 0d1eadd1304bb..f9b162a6f350f 100644 --- a/shell/browser/native_window_mac.mm +++ b/shell/browser/native_window_mac.mm @@ -1696,6 +1696,9 @@ void ReorderChildWindowAbove(NSWindow* child_window, NSWindow* other_window) { // Restore the window title under fullscreen mode. if (buttons_proxy_) [window_ setTitleVisibility:NSWindowTitleVisible]; + + if (transparent() || !has_frame()) + [window_ setTitlebarAppearsTransparent:NO]; } void NativeWindowMac::NotifyWindowLeaveFullScreen() { @@ -1705,6 +1708,9 @@ void ReorderChildWindowAbove(NSWindow* child_window, NSWindow* other_window) { [buttons_proxy_ redraw]; [buttons_proxy_ setVisible:YES]; } + + if (transparent() || !has_frame()) + [window_ setTitlebarAppearsTransparent:YES]; } void NativeWindowMac::NotifyWindowWillEnterFullScreen() {