- Electron version: 1.3.5
- Operating system: Windows 10

Steps:
- open 2 windows
- stack the windows so that the one is on top of the other but you can still see both menus in both windows
- in the one window trigger the menu (e.g. File)
- while the menu is open, click on the menu in the other window

=> the other window is not getting focus but you can still interact with the menu
=> this causes issues because to my knowledge I cannot find out on which window an action was invoked so my actions all target the wrong window

atom/browser/ui/views/menu_bar.cc
return menu_model_->GetItemCount();
}
bool MenuBar::GetMenuButtonFromScreenPoint(const gfx::Point& point,
                                           AtomMenuModel** menu_model,
                                           views::MenuButton** button) {
  gfx::Point location(point);
  views::View::ConvertPointFromScreen(this, &location);
  if (location.x() < 0 || location.x() >= width() || location.y() < 0 ||
      location.y() >= height())
    return false;
  for (int i = 0; i < child_count(); ++i) {
    views::View* view = child_at(i);
    if (view->bounds().Contains(location) &&
        (menu_model_->GetTypeAt(i) == AtomMenuModel::TYPE_SUBMENU)) {
      *menu_model = menu_model_->GetSubmenuModelAt(i);
      *button = static_cast<views::MenuButton*>(view);
      return true;
    }
  }
  return false;
}
const char* MenuBar::GetClassName() const {
  return kViewClassName;
}
void MenuBar::ButtonPressed(views::Button* sender, const ui::Event& event) {
}
void MenuBar::OnMenuButtonClicked(views::MenuButton* source,