From a09103cd38b934a03efdf86c785d08ed6d127bff Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 30 Apr 2024 21:20:06 +0100 Subject: [PATCH] sessionLock: set locked after emitting event ref #5816 --- src/protocols/SessionLock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocols/SessionLock.cpp b/src/protocols/SessionLock.cpp index 9b3062ea..801aaeb9 100644 --- a/src/protocols/SessionLock.cpp +++ b/src/protocols/SessionLock.cpp @@ -165,9 +165,9 @@ void CSessionLockProtocol::onLock(CExtSessionLockManagerV1* pMgr, uint32_t id) { return; } - locked = true; - events.newLock.emit(RESOURCE); + + locked = true; } void CSessionLockProtocol::onGetLockSurface(CExtSessionLockV1* lock, uint32_t id, wl_resource* surface, wl_resource* output) {