diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index e9edf2b9..33e6c25f 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -1418,6 +1418,9 @@ void CHyprRenderer::renderMonitor(CMonitor* pMonitor) { Aquamarine::eOutputPresentationMode::AQ_OUTPUT_PRESENTATION_VSYNC); if (!pMonitor->state.commit()) { + // rollback the buffer to avoid writing to the front buffer that is being + // displayed + pMonitor->output->swapchain->rollback(); pMonitor->damage.damageEntire(); return; }