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:
parent
4dafacc00b
commit
72af309317
1 changed files with 2 additions and 1 deletions
|
@ -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())) {
|
||||
|
|
Loading…
Reference in a new issue