Changeset View
Changeset View
Standalone View
Standalone View
shell_client.cpp
Show First 20 Lines • Show All 357 Lines • ▼ Show 20 Line(s) | 210 | { | |||
---|---|---|---|---|---|
358 | connect(s, &SurfaceInterface::shadowChanged, this, &Toplevel::getShadow); | 358 | connect(s, &SurfaceInterface::shadowChanged, this, &Toplevel::getShadow); | ||
359 | 359 | | |||
360 | connect(waylandServer(), &WaylandServer::foreignTransientChanged, this, [this](KWayland::Server::SurfaceInterface *child) { | 360 | connect(waylandServer(), &WaylandServer::foreignTransientChanged, this, [this](KWayland::Server::SurfaceInterface *child) { | ||
361 | if (child == surface()) { | 361 | if (child == surface()) { | ||
362 | setTransient(); | 362 | setTransient(); | ||
363 | } | 363 | } | ||
364 | }); | 364 | }); | ||
365 | setTransient(); | 365 | setTransient(); | ||
366 | // check whether we have a ServerSideDecoration | | |||
367 | if (ServerSideDecorationInterface *deco = ServerSideDecorationInterface::get(s)) { | | |||
368 | installServerSideDecoration(deco); | | |||
369 | } | | |||
370 | 366 | | |||
371 | AbstractClient::updateColorScheme(QString()); | 367 | AbstractClient::updateColorScheme(QString()); | ||
372 | 368 | | |||
373 | if (!m_internal) { | 369 | if (!m_internal) { | ||
374 | discardTemporaryRules(); | 370 | discardTemporaryRules(); | ||
375 | applyWindowRules(); // Just in case | 371 | applyWindowRules(); // Just in case | ||
376 | RuleBook::self()->discardUsed(this, false); // Remove ApplyNow rules | 372 | RuleBook::self()->discardUsed(this, false); // Remove ApplyNow rules | ||
377 | updateWindowRules(Rules::All); // Was blocked while !isManaged() | 373 | updateWindowRules(Rules::All); // Was blocked while !isManaged() | ||
▲ Show 20 Lines • Show All 1622 Lines • Show Last 20 Lines |