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

backends/drm: don't change the configuration while KWin is terminating

parent 6ec4efff
Pipeline #146615 passed with stage
in 15 minutes and 22 seconds
......@@ -513,7 +513,7 @@ void DrmBackend::enableOutput(DrmAbstractOutput *output, bool enable)
m_placeholderFilter.reset();
}
} else {
if (m_enabledOutputs.count() == 1 && m_outputs.count() > 1) {
if (m_enabledOutputs.count() == 1 && m_outputs.count() > 1 && !kwinApp()->isTerminating()) {
auto outputs = m_outputs;
outputs.removeOne(output);
if (!readOutputsConfiguration(outputs)) {
......
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