mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 16:25:59 +01:00
screencopy: damage entire screen on a no-damage request
This commit is contained in:
parent
7ea37c9dc9
commit
02c9a2d769
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue