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:
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) {
......@@ -587,7 +587,6 @@ void PanelView::showConfigurationInterface(Plasma::Applet *applet)
} else {
KWindowSystem::setState(>winId(), NET::SkipTaskbar | NET::SkipPager);
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