blob: d0b835eb29ab222dcb668b7d29e796064fd07141 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff --git i/src/wayland/session_lock.cpp w/src/wayland/session_lock.cpp
index 43d80e2..742d683 100644
--- i/src/wayland/session_lock.cpp
+++ w/src/wayland/session_lock.cpp
@@ -179,8 +179,9 @@ void WlSessionLock::unlock() {
this->surfaces.clear();
+ auto wasLocked = this->isLocked();
if (this->manager) this->manager->unlock();
- if (this->isLocked()) emit this->lockStateChanged();
+ if (wasLocked != this->isLocked()) emit this->lockStateChanged();
}
void WlSessionLock::onScreensChanged() {
|