title: Capture clicks on menu bar for my macOS app
body: <p>Below statement captures all clicks inside my app window but does not capture the clicks on the menu bar for my app. I am also unable to capture menu bar click for my app using <code>addGlobalMonitorForEvents</code></p>
  
  <pre><code>NSEvent.addLocalMonitorForEvents(matching: .leftMouseDown , handler: {
              (mouseEvent:NSEvent?) in ....
  </code></pre>