- Electron version: 1.2.7
- Operating system: OSX

Hi everyone,
I'm working on a project where I have a Tray icon, and a window pops out of it when clicked, and this window is hidden when the Tray is clicked again. 
The current behaviour of the Tray when clicked is to be highlighted while clicked, but I'd like to make it stay highlighted while my window is opened.

I haven't found a way to make it work with the latest (1.2.7) version of electron. What I'd suggest is to add a Tray method 'setHighlighted' which takes a boolean, along with 'getHighlighted' which returns a boolean. Is it feasible ?

atom/browser/api/atom_api_tray.cc
mate::Handle<NativeImage> image) {
  if (!Browser::Get()->is_ready()) {
    isolate->ThrowException(v8::Exception::Error(mate::StringToV8(
        isolate, "Cannot create Tray before app is ready")));
    return nullptr;
  }
  return new Tray(isolate, image);
}
void Tray::OnClicked(const gfx::Rect& bounds, int modifiers) {
  EmitWithFlags("click", modifiers, bounds);
}
void Tray::OnDoubleClicked(const gfx::Rect& bounds, int modifiers) {
  EmitWithFlags("double-click", modifiers, bounds);
}
void Tray::OnRightClicked(const gfx::Rect& bounds, int modifiers) {
  EmitWithFlags("right-click", modifiers, bounds);
}
void Tray::OnBalloonShow() {
  Emit("balloon-show");
}
void Tray::OnBalloonClicked() {
  Emit("balloon-click");
}
void Tray::OnBalloonClosed() {
  Emit("balloon-closed");
}
void Tray::OnDrop() {
  Emit("drop");
}
void Tray::OnDropFiles(const std::vector<std::string>& files) {