Changeset View
Changeset View
Standalone View
Standalone View
shell_client.cpp
Show First 20 Lines • Show All 390 Lines • ▼ Show 20 Line(s) | |||||
391 | void ShellClient::destroyClient() | 391 | void ShellClient::destroyClient() | ||
392 | { | 392 | { | ||
393 | m_closing = true; | 393 | m_closing = true; | ||
394 | Deleted *del = nullptr; | 394 | Deleted *del = nullptr; | ||
395 | if (workspace()) { | 395 | if (workspace()) { | ||
396 | del = Deleted::create(this); | 396 | del = Deleted::create(this); | ||
397 | } | 397 | } | ||
398 | emit windowClosed(this, del); | 398 | emit windowClosed(this, del); | ||
399 | | ||||
400 | // Remove Force Temporarily rules. | ||||
401 | RuleBook::self()->discardUsed(this, true); | ||||
402 | | ||||
399 | destroyWindowManagementInterface(); | 403 | destroyWindowManagementInterface(); | ||
400 | destroyDecoration(); | 404 | destroyDecoration(); | ||
401 | 405 | | |||
402 | if (workspace()) { | 406 | if (workspace()) { | ||
403 | StackingUpdatesBlocker blocker(workspace()); | 407 | StackingUpdatesBlocker blocker(workspace()); | ||
404 | if (transientFor()) { | 408 | if (transientFor()) { | ||
405 | transientFor()->removeTransient(this); | 409 | transientFor()->removeTransient(this); | ||
406 | } | 410 | } | ||
▲ Show 20 Lines • Show All 1477 Lines • Show Last 20 Lines |