mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 21:27:20 +03:00
sessionLock: fix the check for locking a locked session (#6843)
This commit is contained in:
parent
3247d18a7c
commit
9ff83f4aa9
@ -177,7 +177,7 @@ void CSessionLockProtocol::onLock(CExtSessionLockManagerV1* pMgr, uint32_t id) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_vLocks.size() > 1) {
|
||||
if (locked) {
|
||||
LOGM(ERR, "Tried to lock a locked session");
|
||||
RESOURCE->inert = true;
|
||||
RESOURCE->resource->sendFinished();
|
||||
|
Loading…
Reference in New Issue
Block a user