- 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
#include "atom/browser/ui/views/menu_bar.h"
#if defined(USE_X11)
#include "gtk/gtk.h"
#endif
#include "atom/browser/ui/views/menu_delegate.h"
#include "atom/browser/ui/views/submenu_button.h"
#include "ui/base/models/menu_model.h"
#include "ui/views/background.h"
#include "ui/views/layout/box_layout.h"
#if defined(OS_WIN)
#include "ui/gfx/color_utils.h"
#elif defined(USE_X11)
#include "chrome/browser/ui/libgtk2ui/skia_utils_gtk2.h"
#endif
namespace atom {
namespace {
const char kViewClassName[] = "ElectronMenuBar";
const SkColor kDefaultColor = SkColorSetARGB(255, 233, 233, 233);
#if defined(USE_X11)
void GetMenuBarColor(SkColor* enabled, SkColor* disabled, SkColor* highlight,