diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-07-20 12:33:22 +0200 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-07-20 12:33:22 +0200 |
| commit | 58b6eceb6da441b83cd6dc88fc52d39dd4a06f34 (patch) | |
| tree | baf9d92a03840368b2b7e59b64e0a32edaf9b188 /src/managers/SessionLockManager.cpp | |
| parent | 91d8a629ebfffaa46290331a74a54e249dec64fe (diff) | |
sessionlock: fix flipped if condition
Diffstat (limited to 'src/managers/SessionLockManager.cpp')
| -rw-r--r-- | src/managers/SessionLockManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/SessionLockManager.cpp b/src/managers/SessionLockManager.cpp index 56facfa1..4b6cfbf4 100644 --- a/src/managers/SessionLockManager.cpp +++ b/src/managers/SessionLockManager.cpp @@ -91,7 +91,7 @@ void CSessionLockManager::onNewSessionLock(SP<CSessionLock> pLock) { g_pCompositor->focusSurface(nullptr); g_pSeatManager->setGrab(nullptr); - if (g_pCompositor->m_unsafeState) { + if (!g_pCompositor->m_unsafeState) { m_sessionLock->sendDeniedTimer = makeShared<CEventLoopTimer>( // Within this arbitrary amount of time, a session-lock client is expected to create and commit a lock surface for each output. If the client fails to do that, it will be denied. std::chrono::seconds(5), |
