Commit d659f4bf authored by Xaver Hugl's avatar Xaver Hugl
Browse files

workspace: don't crash without outputs

BUG: 458892
parent a0385c33
Pipeline #229349 passed with stage
in 30 minutes and 19 seconds
......@@ -633,6 +633,10 @@ void Workspace::updateOutputConfiguration()
}
const auto outputs = kwinApp()->platform()->outputs();
if (outputs.empty()) {
// nothing to do
return;
}
const QString hash = KWinKScreenIntegration::connectedOutputsHash(outputs);
if (m_outputsHash == hash) {
return;
......
Supports Markdown
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