summaryrefslogtreecommitdiff
path: root/modules/areapicker/Picker.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-30 17:56:02 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-30 17:56:02 +1000
commit61bc2b0fb8293624b87d99eb7a9cf741897a4f7d (patch)
treef9d428535aab673245aca1ba2d63a0ed8d78bd9a /modules/areapicker/Picker.qml
parentweather: use xmlhttprequest (diff)
downloadcaelestia-shell-61bc2b0fb8293624b87d99eb7a9cf741897a4f7d.tar.gz
caelestia-shell-61bc2b0fb8293624b87d99eb7a9cf741897a4f7d.tar.bz2
caelestia-shell-61bc2b0fb8293624b87d99eb7a9cf741897a4f7d.zip
picker: fix client rects
Diffstat (limited to '')
-rw-r--r--modules/areapicker/Picker.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/areapicker/Picker.qml b/modules/areapicker/Picker.qml
index 312c403..4a0c537 100644
--- a/modules/areapicker/Picker.qml
+++ b/modules/areapicker/Picker.qml
@@ -36,7 +36,7 @@ MouseArea {
property real sw: Math.abs(sx - ex)
property real sh: Math.abs(sy - ey)
- property list<var> clients: Hyprland.toplevels.values.filter(c => c.workspace.id === Hyprland.activeWsId).sort((a, b) => {
+ property list<var> clients: Hyprland.toplevels.values.filter(c => c.workspace?.id === Hyprland.activeWsId).sort((a, b) => {
// Pinned first, then floating, then any other
if (a.lastIpcObject.pinned === b.lastIpcObject.pinned)
return a.lastIpcObject.floating === b.lastIpcObject.floating ? 0 : a.lastIpcObject.floating ? -1 : 1;