From d057bd41c9fc7df2c6bb1d00fa50c0fc3cf06e63 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Thu, 2 Sep 2021 16:45:04 +0200 Subject: [PATCH] AbstractWaylandOutput: always emit mode change when mode is set Otherwise there can be situations where the platform sets a mode but KScreen never gets notified of it. --- src/abstract_wayland_output.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/abstract_wayland_output.cpp b/src/abstract_wayland_output.cpp index 0e53bcd474..196439b84b 100644 --- a/src/abstract_wayland_output.cpp +++ b/src/abstract_wayland_output.cpp @@ -233,6 +233,7 @@ void AbstractWaylandOutput::setCurrentModeInternal(const QSize &size, int refres m_modeSize = size; m_refreshRate = refreshRate; + Q_EMIT currentModeChanged(); if (sizeChanged) { Q_EMIT geometryChanged(); }