From a8a04c746b07fe80bb852bb42473d58868d3b294 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 6 May 2024 02:24:11 +0100 Subject: [PATCH] renderer: deny solitary during a session lock closes #5906 fixes #5899 --- src/render/Renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 7bd24de7..ee874589 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -2488,7 +2488,7 @@ bool CHyprRenderer::canSkipBackBufferClear(CMonitor* pMonitor) { void CHyprRenderer::recheckSolitaryForMonitor(CMonitor* pMonitor) { pMonitor->solitaryClient.reset(); // reset it, if we find one it will be set. - if (g_pHyprNotificationOverlay->hasAny()) + if (g_pHyprNotificationOverlay->hasAny() || g_pSessionLockManager->isSessionLocked()) return; const auto PWORKSPACE = pMonitor->activeWorkspace;