platforms/drm: reverse output creation order

This was inverted from 5.22, which switches plasma layouts and the default
Xwayland primary screen.
This commit is contained in:
Xaver Hugl 2021-10-18 12:41:07 +02:00
parent 4dafacc00b
commit 72af309317

View file

@ -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())) {