1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

MacOS: Ensure that Bluetooth MIDI dialogue remains visible when we have always on top windows

This commit uses the same logic for the Bluetooth pairing window that we
use for JUCE dialogues and raises its level to NSFloatingWindowLevel
when there are always on top windows.
This commit is contained in:
attila 2025-04-16 11:24:55 +02:00 committed by Attila Szarvas
parent e05320998c
commit 0943197e23

View file

@ -111,6 +111,9 @@ private:
}
[getController (self) showWindow: nil];
if (WindowUtils::areThereAnyAlwaysOnTopWindows())
[getController (self).window setLevel: NSFloatingWindowLevel];
}
static void receivedWindowWillClose (id self, SEL, NSNotification*)