Make RuleBook::setUpdatesDisabled() work with AbstractClient

This commit is contained in:
Vlad Zahorodnii 2022-04-14 12:25:28 +03:00
parent 7f39bb1b33
commit 45dc423638

View file

@ -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);
}
}