screencopy: damage entire screen on a no-damage request

This commit is contained in:
Vaxry 2024-02-20 15:22:54 +00:00
parent 7ea37c9dc9
commit 02c9a2d769

View file

@ -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) {