From: Po Lu Date: Wed, 22 Dec 2021 13:32:14 +0000 (+0800) Subject: * src/pgtkterm.c (scroll_event): Fix sign of delta_y. X-Git-Tag: emacs-29.0.90~3512 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=551fe22557e81223cb048437cf0e7fe854a563f2;p=emacs.git * src/pgtkterm.c (scroll_event): Fix sign of delta_y. --- 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 {