From 551fe22557e81223cb048437cf0e7fe854a563f2 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Wed, 22 Dec 2021 21:32:14 +0800 Subject: [PATCH] * src/pgtkterm.c (scroll_event): Fix sign of delta_y. --- src/pgtkterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pgtkterm.c b/src/pgtkterm.c index 24203ea982e..74ecde09797 100644 --- a/src/pgtkterm.c +++ b/src/pgtkterm.c @@ -6142,7 +6142,7 @@ scroll_event (GtkWidget * widget, GdkEvent * event, gpointer * user_data) ? (delta_x >= 0 ? down_modifier : up_modifier) : (delta_y >= 0 ? down_modifier : up_modifier)); inev.ie.arg = list3 (Qnil, make_float (delta_x), - make_float (delta_y)); + make_float (-delta_y)); } else { -- 2.39.2