|
|
|
|
@ -2,6 +2,9 @@
|
|
|
|
|
|
|
|
|
|
void macos_force_foreground_level() { |
|
|
|
|
[NSApp activateIgnoringOtherApps: YES]; |
|
|
|
|
|
|
|
|
|
#ifdef MACOS_DARK_TITLEBAR |
|
|
|
|
// Set dark titlebar |
|
|
|
|
// [[NSApplication sharedApplication].windows[0] setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameVibrantDark]]; |
|
|
|
|
[[NSApplication sharedApplication].windows[0] setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameVibrantDark]]; |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|