From 55f0ccc0fe6d4bdfb4b0f32fba2b0af4c2224a5a Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 29 Apr 2022 20:03:28 +0300 Subject: [PATCH] plugins/screencast: Avoid Window::addRepaintFull() It will be dropped. --- src/plugins/screencast/screencastmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/screencast/screencastmanager.cpp b/src/plugins/screencast/screencastmanager.cpp index e3c4877e88..e5457493e2 100644 --- a/src/plugins/screencast/screencastmanager.cpp +++ b/src/plugins/screencast/screencastmanager.cpp @@ -59,7 +59,7 @@ private: connect(m_window, &Window::damaged, this, &WindowStream::includeDamage); m_damagedRegion = m_window->visibleGeometry(); - m_window->addRepaintFull(); + m_window->output()->renderLoop()->scheduleRepaint(); } void stopFeeding()