diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index 2bf425ba91..305583c94d 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -380,6 +380,9 @@ void NativeWindowViews::Show() { widget()->native_widget_private()->Show(GetRestoredState(), gfx::Rect()); + // explicitly focus the window + widget()->Activate(); + NotifyWindowShow(); #if defined(USE_X11)