Need a Linux impl for https://github.com/electron/electron/pull/12485
atom/browser/native_window_views.cc
return widget()->IsActive();
}
void NativeWindowViews::Show() {
  if (is_modal() && NativeWindow::parent() &&
      !widget()->native_widget_private()->IsVisible())
    static_cast<NativeWindowViews*>(parent())->IncrementChildModals();
  widget()->native_widget_private()->Show(GetRestoredState(), gfx::Rect());
  NotifyWindowShow();
#if defined(USE_X11)
  if (global_menu_bar_)
    global_menu_bar_->OnWindowMapped();
#endif
}
void NativeWindowViews::ShowInactive() {
  widget()->ShowInactive();
  NotifyWindowShow();
#if defined(USE_X11)
  if (global_menu_bar_)
    global_menu_bar_->OnWindowMapped();
#endif
}
void NativeWindowViews::Hide() {