Make RuleBook::setUpdatesDisabled() work with AbstractClient
This commit is contained in:
parent
7f39bb1b33
commit
45dc423638
1 changed files with 2 additions and 2 deletions
|
@ -1159,8 +1159,8 @@ void RuleBook::setUpdatesDisabled(bool disable)
|
|||
{
|
||||
m_updatesDisabled = disable;
|
||||
if (!disable) {
|
||||
const auto clients = Workspace::self()->clientList();
|
||||
for (X11Client *c : clients) {
|
||||
const auto clients = Workspace::self()->allClientList();
|
||||
for (AbstractClient *c : clients) {
|
||||
c->updateWindowRules(Rules::All);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue