summaryrefslogtreecommitdiff
path: root/bar/Workspace.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-08-26 14:18:51 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-08-26 14:18:51 +0800
commitd0e6182583af1fd2a7080b3a7245b84fe2e8692a (patch)
treeba71c027a543a10453446dbe2251de3bac698e9a /bar/Workspace.qml
parent13ccf9f49527950b12d2e000e2e79b6fe4d76afc (diff)
Revert "MouseArea: attempt to replace all MouseArea to modern non stealing"
This reverts commit a41ab9ad95b4f8e053af82741a45f747e77ff37a. HoverHandler's point is spammy
Diffstat (limited to 'bar/Workspace.qml')
-rw-r--r--bar/Workspace.qml5
1 files changed, 2 insertions, 3 deletions
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}' })`);
- }
}
}
}