Mac-OS-X-App-Menu-Bar-Popup icon indicating copy to clipboard operation
Mac-OS-X-App-Menu-Bar-Popup copied to clipboard

Event Monitor

Open fmalekpour opened this issue 4 years ago • 3 comments

So what's wrong with using [NSApp setActivationPolicy: NSApplicationActivationPolicyAccessory]; or NSApp.setActivationPolicy(.accessory)

fmalekpour avatar Oct 16 '19 07:10 fmalekpour

@fmalekpour what do you mean?

maximbilan avatar Oct 16 '19 10:10 maximbilan

Setting NSApplicationActivationPolicyAccessory dismisses the popup if click outside, why do we need the EventMonitor? Is there another reason to keep track of events?

fmalekpour avatar Oct 16 '19 21:10 fmalekpour

@fmalekpour Sorry, but I have no idea. I've worked on it 4 years ago, so I can't say any pros and cons now.

maximbilan avatar Oct 18 '19 10:10 maximbilan