WaylandOutput: schedule update on mode change
Without this there can be a mismatch between what clients expect and what KWin actually uses, causing for example stutter in video players. BUG: 444303 FIXED-IN: 5.23.2
This commit is contained in:
parent
839293f987
commit
ca58ee875f
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ WaylandOutput::WaylandOutput(AbstractWaylandOutput *output, QObject *parent)
|
|||
m_updateTimer.setSingleShot(true);
|
||||
connect(&m_updateTimer, &QTimer::timeout, this, &WaylandOutput::update);
|
||||
|
||||
connect(output, &AbstractWaylandOutput::currentModeChanged, this, &WaylandOutput::scheduleUpdate);
|
||||
connect(output, &AbstractWaylandOutput::geometryChanged, this, &WaylandOutput::scheduleUpdate);
|
||||
connect(output, &AbstractWaylandOutput::transformChanged, this, &WaylandOutput::scheduleUpdate);
|
||||
connect(output, &AbstractWaylandOutput::scaleChanged, this, &WaylandOutput::scheduleUpdate);
|
||||
|
|
Loading…
Reference in a new issue