Skip to content

Regarding menu inactive for mouse action #2

Description

@bearmountainbranch

If you want the menubar to be clickable you need to come up with some C-variant of this:

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
  // [NSApp activateIgnoringOtherApps:YES] needs to be called after everthing
  // has finished launching, or else the menu bar will not work until we switch
  // applications once.
  // http://stackoverflow.com/questions/33345686/cocoa-application-menu-bar-not-clickable
  [NSApp activateIgnoringOtherApps:YES];
}

In which I mean, you need to figure out when you should call this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions