summaryrefslogtreecommitdiff
path: root/modules/areapicker/Picker.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/areapicker/Picker.qml')
-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 31aec02..f3a7eb0 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.clients.filter(c => c.workspace.id === Hyprland.activeWsId)
+ property list<var> clients: Hyprland.toplevels.values.filter(c => c.workspace.id === Hyprland.activeWsId)
function checkClientRects(x: real, y: real): void {
for (const c of clients) {