aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/input.c b/input.c
index 0f477acf..ab15fc46 100644
--- a/input.c
+++ b/input.c
@@ -1624,7 +1624,8 @@ mouse_scroll(struct seat *seat, int amount)
amount = abs(amount);
if ((button == BTN_BACK || button == BTN_FORWARD) &&
- term->grid == &term->alt && term->alt_scrolling)
+ term->grid == &term->alt && term->alt_scrolling &&
+ term->mouse_tracking == MOUSE_NONE)
{
/*
* alternateScroll/faux scrolling - translate mouse