mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-27 02:54:36 +00:00
wayland/lock: emit lockStateChanged on unlock
This commit is contained in:
1 parent
1c1cc91533
commit
18c95fae4a
2 files changed
+3
-1
No files matched your search
@@ -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.
|
||||
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user