mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-24 20:30:09 +01:00
sessionlock: fix flipped if condition
This commit is contained in:
parent
91d8a629eb
commit
58b6eceb6d
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue