mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-24 08:23:48 -07:00
screencopy: damage entire screen on a no-damage request
This commit is contained in:
@@ -347,7 +347,7 @@ void CScreencopyProtocolManager::copyFrame(wl_client* client, wl_resource* resou
|
|||||||
g_pHyprRenderer->m_bSoftwareCursorsLocked = true;
|
g_pHyprRenderer->m_bSoftwareCursorsLocked = true;
|
||||||
|
|
||||||
if (!PFRAME->withDamage)
|
if (!PFRAME->withDamage)
|
||||||
g_pCompositor->scheduleFrameForMonitor(PFRAME->pMonitor);
|
g_pHyprRenderer->damageMonitor(PFRAME->pMonitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CScreencopyProtocolManager::onOutputCommit(CMonitor* pMonitor, wlr_output_event_commit* e) {
|
void CScreencopyProtocolManager::onOutputCommit(CMonitor* pMonitor, wlr_output_event_commit* e) {
|
||||||
|
Reference in New Issue
Block a user