[wayland] Discard Force Temporarily rules for shell clients
Summary: Force Temporarily rules have to be discarded when a client is unmapped. Otherwise there won't be a difference between Force and Force Temporarily rules. Reviewers: #kwin Subscribers: graesslin, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D18494
This commit is contained in:
parent
18844f5925
commit
99abfe4e28
1 changed files with 4 additions and 0 deletions
|
@ -399,6 +399,10 @@ void ShellClient::destroyClient()
|
|||
del = Deleted::create(this);
|
||||
}
|
||||
emit windowClosed(this, del);
|
||||
|
||||
// Remove Force Temporarily rules.
|
||||
RuleBook::self()->discardUsed(this, true);
|
||||
|
||||
destroyWindowManagementInterface();
|
||||
destroyDecoration();
|
||||
|
||||
|
|
Loading…
Reference in a new issue