Commit 72af3093 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.
parent 4dafacc0
......@@ -331,7 +331,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 (pipeline->connector()->isNonDesktop()) {
if (const auto &leaseOutput = findLeaseOutput(pipeline->connector()->id())) {
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