Tray icon: highlighted state?


#1

Greetings! I can’t set the state of the Tray icon to be highlighted - when I make a tray popover-like app (no icon in the Dock, should behave like a Dropbox desktop app or so). It should be highlighted when app window is in focus, and not otherwise.

Instead, it’s highlighted only during click for a moment and then again as usual.

Is it possible to set highlighted as a state?

Thanks!