diff --git a/shell_client.cpp b/shell_client.cpp --- a/shell_client.cpp +++ b/shell_client.cpp @@ -396,6 +396,10 @@ del = Deleted::create(this); } emit windowClosed(this, del); + + // Remove Force Temporarily rules. + RuleBook::self()->discardUsed(this, true); + destroyWindowManagementInterface(); destroyDecoration();