so if you have 2 windows and you click on the one that is not active – it will activate and click event will not be propagated to window elements
if you right click or try to scroll with mouse over non-active window it will get events without being activated
why is that and can this behavior be changed?
You must override NSView’s
- (BOOL)acceptsFirstMouse:(NSEvent *)theEventto return YES in order to receive clicks when your app is inactive.