Skip to content

Commit

Permalink
fix: remove skip-taskbar feature on Linux.
Browse files Browse the repository at this point in the history
Marked as unsupported in e19, now removed in e20.

See #33226 for more information
  • Loading branch information
ckerr committed Jul 29, 2022
1 parent 8e45f43 commit 4abea67
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions shell/browser/native_window_views.cc
Expand Up @@ -300,14 +300,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<x11::Atom> 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) {
Expand Down

0 comments on commit 4abea67

Please sign in to comment.