mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 13:45:58 +01:00
toplevelexport: set last damage for dmabuf copy
This commit is contained in:
parent
ea3fd13e24
commit
94aeb06d6b
1 changed files with 4 additions and 0 deletions
|
@ -452,6 +452,10 @@ bool CToplevelExportProtocolManager::copyFrameDmabuf(SScreencopyFrame* frame, ti
|
|||
if (frame->overlayCursor)
|
||||
g_pHyprRenderer->renderSoftwareCursors(PMONITOR, fakeDamage, g_pInputManager->getMouseCoordsInternal() - frame->pWindow->m_vRealPosition.vec());
|
||||
|
||||
// introspection uses this as final damage.
|
||||
// TODO: dont. This fucking sucks.
|
||||
PMONITOR->lastFrameDamage = fakeDamage;
|
||||
|
||||
g_pHyprRenderer->endRender();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue