diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index abd1ec66..a0591416 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -1102,6 +1102,9 @@ bool CHyprRenderer::attemptDirectScanout(CMonitor* pMonitor) { pMonitor->output->state->setBuffer(PSURFACE->current.buffer); + if (!pMonitor->state.test()) + return false; + timespec now; clock_gettime(CLOCK_MONOTONIC, &now); PSURFACE->frame(&now);