I have a transparent NSWindowone that follows the user's screen wherever he goes ( NSWindowstays in front of every application, no matter what, even full-screen applications).
In this NSWindow, I have an event mouseDownthat shows a popup. Let's say I am in safari in full screen mode and I have my window in front of it, I click on safari and I click on my window again: nothing happens, mouseDown does not happen. I have to click again for the event to happen mouseDown.
How can I make my NSWindowbe always active, so I don’t need to click on 2x to call mouseDownit when I click on the background application and enter my window again?
Thank!
source
share