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.
This commit is contained in:
Xaver Hugl 2021-09-02 16:45:04 +02:00
parent f82d9f3d23
commit d057bd41c9

View file

@ -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();
}