Changeset View
Changeset View
Standalone View
Standalone View
shell_client.cpp
Show First 20 Lines • Show All 313 Lines • ▼ Show 20 Line(s) | 195 | { | |||
---|---|---|---|---|---|
314 | } | 314 | } | ||
315 | 315 | | |||
316 | // set initial desktop | 316 | // set initial desktop | ||
317 | setDesktop(rules()->checkDesktop(m_internal ? int(NET::OnAllDesktops) : VirtualDesktopManager::self()->current(), true)); | 317 | setDesktop(rules()->checkDesktop(m_internal ? int(NET::OnAllDesktops) : VirtualDesktopManager::self()->current(), true)); | ||
318 | // TODO: merge in checks from Client::manage? | 318 | // TODO: merge in checks from Client::manage? | ||
319 | if (rules()->checkMinimize(false, true)) { | 319 | if (rules()->checkMinimize(false, true)) { | ||
320 | minimize(true); // No animation | 320 | minimize(true); // No animation | ||
321 | } | 321 | } | ||
322 | setSkipTaskbar(rules()->checkSkipTaskbar(m_plasmaShellSurface ? m_plasmaShellSurface->skipTaskbar() : false, true)); | ||||
323 | setSkipPager(rules()->checkSkipPager(false, true)); | ||||
324 | setSkipSwitcher(rules()->checkSkipSwitcher(false, true)); | ||||
322 | 325 | | |||
323 | // setup shadow integration | 326 | // setup shadow integration | ||
324 | getShadow(); | 327 | getShadow(); | ||
325 | connect(s, &SurfaceInterface::shadowChanged, this, &Toplevel::getShadow); | 328 | connect(s, &SurfaceInterface::shadowChanged, this, &Toplevel::getShadow); | ||
326 | 329 | | |||
327 | connect(waylandServer(), &WaylandServer::foreignTransientChanged, this, [this](KWayland::Server::SurfaceInterface *child) { | 330 | connect(waylandServer(), &WaylandServer::foreignTransientChanged, this, [this](KWayland::Server::SurfaceInterface *child) { | ||
328 | if (child == surface()) { | 331 | if (child == surface()) { | ||
329 | setTransient(); | 332 | setTransient(); | ||
▲ Show 20 Lines • Show All 1359 Lines • Show Last 20 Lines |