From eccfbbd6fdff019c524906af9461c07f36354dd3 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Tue, 13 Sep 2022 17:05:43 +0200 Subject: [PATCH] backends/drm: turn all outputs on when new output is hotplugged Otherwise only the new output is turned on, which is a bit weird --- src/backends/drm/drm_output.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backends/drm/drm_output.cpp b/src/backends/drm/drm_output.cpp index 5b0a7810b6..38049802c7 100644 --- a/src/backends/drm/drm_output.cpp +++ b/src/backends/drm/drm_output.cpp @@ -441,6 +441,10 @@ void DrmOutput::applyQueuedChanges(const OutputConfiguration &config) Q_EMIT changed(); + if (isEnabled() && dpmsMode() == DpmsMode::On) { + m_gpu->platform()->turnOutputsOn(); + } + updateCursor(); }