From 02c9a2d769dc3ae5efb942ad16578eee45a6f6dd Mon Sep 17 00:00:00 2001 From: vaxerski Date: Tue, 20 Feb 2024 15:22:54 +0000 Subject: [PATCH] screencopy: damage entire screen on a no-damage request --- src/protocols/Screencopy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/Screencopy.cpp b/src/protocols/Screencopy.cpp index 11dcf89d..6f0bca14 100644 --- a/src/protocols/Screencopy.cpp +++ b/src/protocols/Screencopy.cpp @@ -347,7 +347,7 @@ void CScreencopyProtocolManager::copyFrame(wl_client* client, wl_resource* resou g_pHyprRenderer->m_bSoftwareCursorsLocked = true; if (!PFRAME->withDamage) - g_pCompositor->scheduleFrameForMonitor(PFRAME->pMonitor); + g_pHyprRenderer->damageMonitor(PFRAME->pMonitor); } void CScreencopyProtocolManager::onOutputCommit(CMonitor* pMonitor, wlr_output_event_commit* e) {