place sessionlock surfaces at correct coordinates

This commit is contained in:
Vaxry 2023-02-03 14:00:23 +00:00
parent 9e40e47a2e
commit 8e6950e200

View file

@ -384,7 +384,7 @@ void CHyprRenderer::renderIMEPopup(SIMEPopup* pPopup, CMonitor* pMonitor, timesp
}
void CHyprRenderer::renderSessionLockSurface(SSessionLockSurface* pSurface, CMonitor* pMonitor, timespec* time) {
SRenderData renderdata = {pMonitor, time, 0, 0};
SRenderData renderdata = {pMonitor, time, pMonitor->vecPosition.x, pMonitor->vecPosition.y};
renderdata.blur = false;
renderdata.surface = pSurface->pWlrLockSurface->surface;