diff --git a/rules.cpp b/rules.cpp index af31d1538d..4c66f82676 100644 --- a/rules.cpp +++ b/rules.cpp @@ -938,7 +938,7 @@ void AbstractClient::applyWindowRules() workspace()->activateNextClient(this); // Closeable QSize s = adjustedSize(); - if (s != size()) + if (s != size() && s.isValid()) resizeWithChecks(s); // Autogrouping : Only checked on window manage // AutogroupInForeground : Only checked on window manage