From 4575234859b3932364c5d667be394fbe20da074f Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Thu, 27 Apr 2023 18:09:45 +0200 Subject: [PATCH] backends/drm: remove timer for updating outputs It's not necessary anymore, as outputs will be updated once the GPU is active again --- src/backends/drm/drm_gpu.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backends/drm/drm_gpu.cpp b/src/backends/drm/drm_gpu.cpp index f2c4618d20..dac72f3d85 100644 --- a/src/backends/drm/drm_gpu.cpp +++ b/src/backends/drm/drm_gpu.cpp @@ -325,7 +325,6 @@ bool DrmGpu::updateOutputs() m_allObjects.removeOne(it->get()); m_connectors.erase(it); } - QTimer::singleShot(50, m_platform, &DrmBackend::updateOutputs); } else { qCWarning(KWIN_DRM, "Failed to find a working setup for new outputs!"); for (const auto &pipeline : std::as_const(m_pipelines)) {