From 640e1b2fb3a1bb8d9c2e8ca38764eb5f632783ae Mon Sep 17 00:00:00 2001 From: AIAlloc <5089737+aialloc@users.noreply.github.com> Date: Fri, 20 Nov 2026 01:59:50 +0000 Subject: [PATCH] macos: fix titlebar using bg color on fullscreen exit (#7792) When using MACOS_USE_BACKGROUND_COLOR_AS_TITLEBAR_COLOR, exiting fullscreen didn't update the titlebar, making it disappear. --- window/src/os/macos/window.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/window/src/os/macos/window.rs b/window/src/os/macos/window.rs index 1193d398d..fc8e9fa94 100644 --- a/window/src/os/macos/window.rs +++ b/window/src/os/macos/window.rs @@ -1116,6 +1116,7 @@ impl WindowInner { current_app.setPresentationOptions_( NSApplicationPresentationOptions::NSApplicationPresentationDefault, ); + self.update_titlebar_background(); }, None => unsafe { // Go full screen