Commit cc8d3e77 authored by Marco Martin's avatar Marco Martin

set skipTaskbar on SurfaceEvent::SurfaceCreated

Summary: makes sure the flag is set on time

Test Plan: can't get the panelcontroller in the taskbar anymore

Reviewers: #plasma, hein, broulik

Reviewed By: #plasma, hein, broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18186
parent 41e3bcbd
......@@ -238,6 +238,8 @@ bool PanelConfigView::event(QEvent *e)
if (e->type() == QEvent::PlatformSurface) {
switch (static_cast<QPlatformSurfaceEvent*>(e)->surfaceEventType()) {
case QPlatformSurfaceEvent::SurfaceCreated:
KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager);
if (m_shellSurface) {
break;
}
......
......@@ -587,7 +587,6 @@ void PanelView::showConfigurationInterface(Plasma::Applet *applet)
m_panelConfigView->hide();
} else {
m_panelConfigView->show();
KWindowSystem::setState(m_panelConfigView.data()->winId(), NET::SkipTaskbar | NET::SkipPager);
}
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment