From 028bbd03a3284d60db802631a71ebb1626befa68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 15 Sep 2020 18:40:51 +0200 Subject: [PATCH] =?UTF-8?q?input:=20don=E2=80=99t=20do=20alternate=20mode?= =?UTF-8?q?=20scrolling=20if=20application=20is=20grabbing=20mouse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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