Commit c1767784 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

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.
parent c6393a93
......@@ -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());
void includeDamage(Toplevel *toplevel, const QRect &damage) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment