Commit 1cce55f5 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

platforms/drm: reverse output creation order

This was inverted from 5.22, which switches plasma layouts and the default
Xwayland primary screen.


(cherry picked from commit 72af3093)
parent 140834e7
......@@ -256,7 +256,8 @@ bool DrmGpu::updateOutputs()
}
m_pipelines << config;
for (const auto &pipeline : qAsConst(config)) {
for (auto it = config.crbegin(); it != config.crend(); it++) {
const auto &pipeline = *it;
auto output = pipeline->output();
if (m_outputs.contains(output)) {
// restore output properties
......
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