summaryrefslogtreecommitdiff
path: root/src/protocols/Screencopy.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2024-02-20 15:22:54 +0000
committervaxerski <vaxry@vaxry.net>2024-02-20 15:22:54 +0000
commit02c9a2d769dc3ae5efb942ad16578eee45a6f6dd (patch)
treef58f6e6333dd3d5aa03b469e3b610eeda6416eda /src/protocols/Screencopy.cpp
parent7ea37c9dc93b990dc756de45687c125290a74afb (diff)
screencopy: damage entire screen on a no-damage request
Diffstat (limited to 'src/protocols/Screencopy.cpp')
-rw-r--r--src/protocols/Screencopy.cpp2
1 files changed, 1 insertions, 1 deletions
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) {