Skip to content

Commit

Permalink
screencopy: damage entire screen on a no-damage request
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Feb 20, 2024
1 parent 7ea37c9 commit 02c9a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocols/Screencopy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 02c9a2d

Please sign in to comment.