From d1e5f484461e27133317c78b81347d05dc3a2760 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 24 Aug 2025 14:14:30 +1000 Subject: internal: rename Hyprland -> Hypr Prevent shadowing Fixes window info not changing on switching to an empty workspace --- modules/areapicker/Picker.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/areapicker') diff --git a/modules/areapicker/Picker.qml b/modules/areapicker/Picker.qml index 53b200e..9392c81 100644 --- a/modules/areapicker/Picker.qml +++ b/modules/areapicker/Picker.qml @@ -37,8 +37,8 @@ MouseArea { property real sh: Math.abs(sy - ey) property list clients: { - const ws = Hyprland.activeToplevel?.workspace?.id ?? Hyprland.activeWsId; - return Hyprland.toplevels.values.filter(c => c.workspace?.id === ws).sort((a, b) => { + const ws = Hypr.activeToplevel?.workspace?.id ?? Hypr.activeWsId; + return Hypr.toplevels.values.filter(c => c.workspace?.id === ws).sort((a, b) => { // Pinned first, then fullscreen, then floating, then any other const ac = a.lastIpcObject; const bc = b.lastIpcObject; @@ -164,7 +164,7 @@ MouseArea { } Connections { - target: Hyprland + target: Hypr function onActiveWsIdChanged(): void { root.checkClientRects(root.mouseX, root.mouseY); -- cgit v1.2.3-freya