aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 5c7de859..68cb9314 100644
--- a/input.c
+++ b/input.c
@@ -2708,7 +2708,7 @@ mouse_scroll(struct seat *seat, int amount, enum wl_pointer_axis axis)
xassert(term != NULL);
int button = axis == WL_POINTER_AXIS_VERTICAL_SCROLL
- ? amount < 0 ? BTN_BACK : BTN_FORWARD
+ ? amount < 0 ? BTN_WHEEL_BACK : BTN_WHEEL_FORWARD
: amount < 0 ? BTN_WHEEL_LEFT : BTN_WHEEL_RIGHT;
amount = abs(amount);