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:
parent
f82d9f3d23
commit
d057bd41c9
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ void AbstractWaylandOutput::setCurrentModeInternal(const QSize &size, int refres
|
||||||
m_modeSize = size;
|
m_modeSize = size;
|
||||||
m_refreshRate = refreshRate;
|
m_refreshRate = refreshRate;
|
||||||
|
|
||||||
|
Q_EMIT currentModeChanged();
|
||||||
if (sizeChanged) {
|
if (sizeChanged) {
|
||||||
Q_EMIT geometryChanged();
|
Q_EMIT geometryChanged();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue