I am using the window.level
set to .floating
as described here:
https://developer.apple.com/documentation/appkit/nswindow/level
The setting itself works okay. However, in a multi monitor setup, the floating window is appearing on both the screens.
How can I prevent this? As far as I remember, before macOS Sonoma, this used to not happen.