diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 14:14:30 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 14:14:30 +1000 |
| commit | d1e5f484461e27133317c78b81347d05dc3a2760 (patch) | |
| tree | 7e84f152a66b69366d6abb67af63ec7306fca7bd /modules/areapicker | |
| parent | [CI] chore: update flake (diff) | |
| download | caelestia-shell-d1e5f484461e27133317c78b81347d05dc3a2760.tar.gz caelestia-shell-d1e5f484461e27133317c78b81347d05dc3a2760.tar.bz2 caelestia-shell-d1e5f484461e27133317c78b81347d05dc3a2760.zip | |
internal: rename Hyprland -> Hypr
Prevent shadowing
Fixes window info not changing on switching to an empty workspace
Diffstat (limited to 'modules/areapicker')
| -rw-r--r-- | modules/areapicker/Picker.qml | 6 |
1 files changed, 3 insertions, 3 deletions
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<var> 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); |