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.
This commit is contained in:
AIAlloc authored and GitHub committed 2026-11-20 02:59:50 +01:00
1 parent 94fbf53d20
commit 640e1b2fb3
1 file changed
+1
+1
View File
@@ -1116,6 +1116,7 @@ impl WindowInner {
current_app.setPresentationOptions_(
NSApplicationPresentationOptions::NSApplicationPresentationDefault,
);
self.update_titlebar_background();
},
None => unsafe {
// Go full screen