Changeset View
Changeset View
Standalone View
Standalone View
shell/panelconfigview.cpp
Show First 20 Lines • Show All 232 Lines • ▼ Show 20 Line(s) | 230 | { | |||
---|---|---|---|---|---|
233 | } | 233 | } | ||
234 | } | 234 | } | ||
235 | 235 | | |||
236 | bool PanelConfigView::event(QEvent *e) | 236 | bool PanelConfigView::event(QEvent *e) | ||
237 | { | 237 | { | ||
238 | if (e->type() == QEvent::PlatformSurface) { | 238 | if (e->type() == QEvent::PlatformSurface) { | ||
239 | switch (static_cast<QPlatformSurfaceEvent*>(e)->surfaceEventType()) { | 239 | switch (static_cast<QPlatformSurfaceEvent*>(e)->surfaceEventType()) { | ||
240 | case QPlatformSurfaceEvent::SurfaceCreated: | 240 | case QPlatformSurfaceEvent::SurfaceCreated: | ||
241 | KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager); | ||||
242 | | ||||
241 | if (m_shellSurface) { | 243 | if (m_shellSurface) { | ||
242 | break; | 244 | break; | ||
243 | } | 245 | } | ||
244 | if (ShellCorona *c = qobject_cast<ShellCorona *>(m_containment->corona())) { | 246 | if (ShellCorona *c = qobject_cast<ShellCorona *>(m_containment->corona())) { | ||
245 | using namespace KWayland::Client; | 247 | using namespace KWayland::Client; | ||
246 | PlasmaShell *interface = c->waylandPlasmaShellInterface(); | 248 | PlasmaShell *interface = c->waylandPlasmaShellInterface(); | ||
247 | if (!interface) { | 249 | if (!interface) { | ||
248 | break; | 250 | break; | ||
Show All 36 Lines |