screencast: Enforce an initial window repaint when we start streaming
Notifying a damage will only ensure that the full window is redrawn, but we need the repaint as well so the painting actually happens.
This commit is contained in:
parent
c6393a936b
commit
c176778494
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ private:
|
|||
connect(scene, &Scene::frameRendered, this, &WindowStream::bufferToStream);
|
||||
|
||||
connect(m_toplevel, &Toplevel::damaged, this, &WindowStream::includeDamage);
|
||||
m_toplevel->damaged(m_toplevel, m_toplevel->frameGeometry());
|
||||
m_toplevel->addRepaintFull();
|
||||
}
|
||||
|
||||
void includeDamage(Toplevel *toplevel, const QRect &damage) {
|
||||
|
|
Loading…
Reference in a new issue