diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-08 20:00:22 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-08 20:00:22 +0200 |
commit | 8a551339cbfaf106ac7d6f1ca5230196be539167 (patch) | |
tree | 20dd3cb9f12dd94fa22fcd2d866c3cf586f8931a /overlays/quickshell/lock-state-changed.patch | |
parent | 14d4d05acc235ab7033316d16530783c90e95faa (diff) | |
download | nixos-8a551339cbfaf106ac7d6f1ca5230196be539167.tar nixos-8a551339cbfaf106ac7d6f1ca5230196be539167.tar.gz nixos-8a551339cbfaf106ac7d6f1ca5230196be539167.tar.bz2 nixos-8a551339cbfaf106ac7d6f1ca5230196be539167.tar.xz nixos-8a551339cbfaf106ac7d6f1ca5230196be539167.zip |
...
Diffstat (limited to 'overlays/quickshell/lock-state-changed.patch')
-rw-r--r-- | overlays/quickshell/lock-state-changed.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/overlays/quickshell/lock-state-changed.patch b/overlays/quickshell/lock-state-changed.patch new file mode 100644 index 00000000..4be273fa --- /dev/null +++ b/overlays/quickshell/lock-state-changed.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | diff --git i/src/wayland/session_lock.cpp w/src/wayland/session_lock.cpp | ||
2 | index 0ecf9ec..3dbd19b 100644 | ||
3 | --- i/src/wayland/session_lock.cpp | ||
4 | +++ w/src/wayland/session_lock.cpp | ||
5 | @@ -127,6 +127,7 @@ void WlSessionLock::realizeLockTarget(WlSessionLock* old) { | ||
6 | this->updateSurfaces(false); | ||
7 | |||
8 | if (!this->manager->lock()) this->lockTarget = false; | ||
9 | + emit this->lockStateChanged(); | ||
10 | |||
11 | this->updateSurfaces(true, old); | ||
12 | } else { | ||