diff options
author | Vaxry <[email protected]> | 2024-05-06 02:24:11 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-05-06 02:24:11 +0100 |
commit | a8a04c746b07fe80bb852bb42473d58868d3b294 (patch) | |
tree | bc3a2ecee4bff4715170beb2061ff19c0595a923 | |
parent | cddeec47a1fc0e70d8598fd10c29cd0e9489999f (diff) | |
download | Hyprland-a8a04c746b07fe80bb852bb42473d58868d3b294.tar.gz Hyprland-a8a04c746b07fe80bb852bb42473d58868d3b294.zip |
renderer: deny solitary during a session lock
closes #5906
fixes #5899
-rw-r--r-- | src/render/Renderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |