aboutsummaryrefslogtreecommitdiffstats
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,
205 205
206 struct swaybar_workspace *new; 206 struct swaybar_workspace *new;
207 207
208 if (amt > 0.0) { 208 if (amt < 0.0) {
209 if (active == first) { 209 if (active == first) {
210 if (!bar->config->wrap_scroll) { 210 if (!bar->config->wrap_scroll) {
211 return; 211 return;