wayland/lock: emit lockStateChanged on unlock

This commit is contained in:
Dmitry Litoshik authored and outfoxxed committed 2026-10-16 18:13:15 -07:00
1 parent 1c1cc91533
commit 18c95fae4a
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -3,3 +3,4 @@
- Fixed ScriptModel not sending role updates on changed data that compares equal by key or structure.
- Fixed Hyprland workspaces keeping their old id after Hyprland changes it.
- Fixed desktop entries being parsed incorrectly with trailing whitespace or CRLF line endings.
- Fixed `WlSessionLock.locked` changes not being emitted on unlock.
+2 -1
View File
@@ -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) emit this->lockStateChanged();
}
void WlSessionLock::onScreensChanged() {