aboutsummaryrefslogtreecommitdiff
path: root/swaybar/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/input.c')
-rw-r--r--swaybar/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/input.c b/swaybar/input.c
index d0191f51..8e994dcf 100644
--- a/swaybar/input.c
+++ b/swaybar/input.c
@@ -205,7 +205,7 @@ static void wl_pointer_axis(void *data, struct wl_pointer *wl_pointer,
struct swaybar_workspace *new;
- if (amt > 0.0) {
+ if (amt < 0.0) {
if (active == first) {
if (!bar->config->wrap_scroll) {
return;