diff --git a/shell/shellcorona.cpp b/shell/shellcorona.cpp index aa7c53ba6b374525b67eff1edc02b5dde00725dd..221c549cf6467a8eca3558a0fc20d1a4afd8cb1d 100644 --- a/shell/shellcorona.cpp +++ b/shell/shellcorona.cpp @@ -1126,6 +1126,9 @@ bool ShellCorona::isOutputRedundant(QScreen *screen) const if (screen == s) { continue; } + if (s->geometry().isNull()) { + return false; + } const QRect otherGeometry = s->geometry();