backends/drm: remove timer for updating outputs

It's not necessary anymore, as outputs will be updated once the GPU is active again
This commit is contained in:
Xaver Hugl 2023-04-27 18:09:45 +02:00
parent 46c8ca34b9
commit 4575234859

View file

@ -325,7 +325,6 @@ bool DrmGpu::updateOutputs()
m_allObjects.removeOne(it->get()); m_allObjects.removeOne(it->get());
m_connectors.erase(it); m_connectors.erase(it);
} }
QTimer::singleShot(50, m_platform, &DrmBackend::updateOutputs);
} else { } else {
qCWarning(KWIN_DRM, "Failed to find a working setup for new outputs!"); qCWarning(KWIN_DRM, "Failed to find a working setup for new outputs!");
for (const auto &pipeline : std::as_const(m_pipelines)) { for (const auto &pipeline : std::as_const(m_pipelines)) {