From 0ecf381ab52898908f5ed45fe317e3ddd6e7e4af Mon Sep 17 00:00:00 2001 From: eidheim Date: Wed, 14 Sep 2022 18:04:46 +0200 Subject: [PATCH] Added code, although deactivated currently, to make title bar dark in MacOS --- src/window_macos.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/window_macos.m b/src/window_macos.m index 2ca0f2a..b2871c4 100644 --- a/src/window_macos.m +++ b/src/window_macos.m @@ -2,4 +2,6 @@ void macos_force_foreground_level() { [NSApp activateIgnoringOtherApps: YES]; + // Set dark titlebar + // [[NSApplication sharedApplication].windows[0] setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameVibrantDark]]; }