mirror of
https://github.com/electron/electron.git
synced 2026-01-13 09:27:59 -05:00
chore: remove unsupported skiptaskbar linux impl (#35179)
chore: unsupported skiptaskbar linux impl
This commit is contained in:
@@ -1040,10 +1040,6 @@ void NativeWindowViews::SetSkipTaskbar(bool skip) {
|
||||
taskbar->AddTab(GetAcceleratedWidget());
|
||||
taskbar_host_.RestoreThumbarButtons(GetAcceleratedWidget());
|
||||
}
|
||||
#elif defined(USE_OZONE_PLATFORM_X11)
|
||||
if (IsX11())
|
||||
SetWMSpecState(static_cast<x11::Window>(GetAcceleratedWidget()), skip,
|
||||
x11::GetAtom("_NET_WM_STATE_SKIP_TASKBAR"));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user