diff options
author | Vaxry <[email protected]> | 2024-04-30 21:20:06 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-04-30 21:20:06 +0100 |
commit | a09103cd38b934a03efdf86c785d08ed6d127bff (patch) | |
tree | 7e75816f2a62dd3a42dd9fb1abff96d4be5b5530 | |
parent | dbb8b294d64c7a96692bf5c2485441223ef82d2e (diff) | |
download | Hyprland-a09103cd38b934a03efdf86c785d08ed6d127bff.tar.gz Hyprland-a09103cd38b934a03efdf86c785d08ed6d127bff.zip |
sessionLock: set locked after emitting event
ref #5816
-rw-r--r-- | src/protocols/SessionLock.cpp | 4 |
1 files 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) { |