Commit 29afd62e authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Evaluate window rules only if they are supported

There is no point for evaluating window rules for popups and internal
parent 72eb1153
......@@ -910,12 +910,11 @@ void Workspace::slotReconfigure()
for (auto it = m_allClients.begin();
it != m_allClients.end();
++it) {
RuleBook::self()->discardUsed(*it, false);
for (AbstractClient *client : m_allClients) {
if (client->supportsWindowRules()) {
RuleBook::self()->discardUsed(client, false);
if (borderlessMaximizedWindows != options->borderlessMaximizedWindows() &&
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment