diff --git a/shell/browser/native_window_views.cc b/shell/browser/native_window_views.cc index 51ccfef8c689f..cf26c47e83e78 100644 --- a/shell/browser/native_window_views.cc +++ b/shell/browser/native_window_views.cc @@ -303,14 +303,9 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options, #if defined(USE_OZONE_PLATFORM_X11) if (IsX11()) { - // TODO(ckerr): remove in Electron v20.0.0 // Before the window is mapped the SetWMSpecState can not work, so we have // to manually set the _NET_WM_STATE. std::vector state_atom_list; - bool skip_taskbar = false; - if (options.Get(options::kSkipTaskbar, &skip_taskbar) && skip_taskbar) { - state_atom_list.push_back(x11::GetAtom("_NET_WM_STATE_SKIP_TASKBAR")); - } // Before the window is mapped, there is no SHOW_FULLSCREEN_STATE. if (fullscreen) {