From d0e6182583af1fd2a7080b3a7245b84fe2e8692a Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 26 Aug 2026 14:18:51 +0800 Subject: Revert "MouseArea: attempt to replace all MouseArea to modern non stealing" This reverts commit a41ab9ad95b4f8e053af82741a45f747e77ff37a. HoverHandler's point is spammy --- bar/Workspace.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bar/Workspace.qml') diff --git a/bar/Workspace.qml b/bar/Workspace.qml index 1366c2d..3f0709a 100644 --- a/bar/Workspace.qml +++ b/bar/Workspace.qml @@ -236,11 +236,10 @@ Item { else Hyprland.dispatch(`hl.dsp.focus({ workspace = '1' })`); } else if (event.angleDelta.y > 0) { - if (root.activeIndex + 1 > 1) { + if (root.activeIndex + 1 > 1) Hyprland.dispatch(`hl.dsp.focus({ workspace = '1' })`); - } else if (Bar.wss > 1) { + else if (Bar.wss > 1) Hyprland.dispatch(`hl.dsp.focus({ workspace = '${Bar.wss}' })`); - } } } } -- cgit v1.2.3