screencasting: Mark the stream as dirty from the start
Otherwise we detect the stream as clean and skip sending anything, ending up waiting for the window to issue some damage.
This commit is contained in:
parent
651b0df30c
commit
bd7f758ac9
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ private:
|
||||||
connect(scene, &Scene::frameRendered, this, &WindowStream::bufferToStream);
|
connect(scene, &Scene::frameRendered, this, &WindowStream::bufferToStream);
|
||||||
|
|
||||||
connect(m_toplevel, &Toplevel::damaged, this, &WindowStream::includeDamage);
|
connect(m_toplevel, &Toplevel::damaged, this, &WindowStream::includeDamage);
|
||||||
|
m_damagedRegion = m_toplevel->visibleRect();
|
||||||
m_toplevel->addRepaintFull();
|
m_toplevel->addRepaintFull();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue