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.
master
Aleix Pol 2020-08-13 16:28:42 +02:00 committed by Aleix Pol Gonzalez
parent c6393a936b
commit c176778494
1 changed files with 1 additions and 1 deletions

View File

@ -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) {