summaryrefslogtreecommitdiff
path: root/services/Hyprland.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-30 14:10:48 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-30 14:10:48 +1000
commitefd09ae86eb5c089c5873c4dfb717af7b081d1fa (patch)
tree19a28341714535f03244add078009d43f6618f92 /services/Hyprland.qml
parentbar: some workspaces optimisations (diff)
downloadcaelestia-shell-efd09ae86eb5c089c5873c4dfb717af7b081d1fa.tar.gz
caelestia-shell-efd09ae86eb5c089c5873c4dfb717af7b081d1fa.tar.bz2
caelestia-shell-efd09ae86eb5c089c5873c4dfb717af7b081d1fa.zip
bar: fix workspaces anims
Also fix hyprland undef error
Diffstat (limited to 'services/Hyprland.qml')
-rw-r--r--services/Hyprland.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/Hyprland.qml b/services/Hyprland.qml
index f47c0cb..286bee3 100644
--- a/services/Hyprland.qml
+++ b/services/Hyprland.qml
@@ -49,7 +49,7 @@ Singleton {
const len = rClients.length;
for (let i = 0; i < len; i++) {
const client = rClients[i];
- if (!clients.find(c => c.address === client.address))
+ if (!clients.find(c => c.address === client?.address))
rClients.splice(i, 1);
}