sessionLock: set locked after emitting event

ref #5816
This commit is contained in:
Vaxry 2024-04-30 21:20:06 +01:00
parent dbb8b294d6
commit a09103cd38

View File

@ -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) {