mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 22:45:57 +01:00
sessionLock: fix the check for locking a locked session (#6843)
This commit is contained in:
parent
3247d18a7c
commit
9ff83f4aa9
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ void CSessionLockProtocol::onLock(CExtSessionLockManagerV1* pMgr, uint32_t id) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_vLocks.size() > 1) {
|
if (locked) {
|
||||||
LOGM(ERR, "Tried to lock a locked session");
|
LOGM(ERR, "Tried to lock a locked session");
|
||||||
RESOURCE->inert = true;
|
RESOURCE->inert = true;
|
||||||
RESOURCE->resource->sendFinished();
|
RESOURCE->resource->sendFinished();
|
||||||
|
|
Loading…
Reference in a new issue