diff options
Diffstat (limited to 'modules/bar/Bar.qml')
| -rw-r--r-- | modules/bar/Bar.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 1d0db8d..9f5509b 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -101,7 +101,7 @@ Item { anchors.rightMargin: -Config.border.thickness onWheel: event => { - const activeWs = Hyprland.activeClient?.workspace?.name; + const activeWs = Hyprland.activeToplevel?.workspace?.name; if (activeWs?.startsWith("special:")) Hyprland.dispatch(`togglespecialworkspace ${activeWs.slice(8)}`); else if (event.angleDelta.y < 0 || Hyprland.activeWsId > 1) |