]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/pgtkterm.c (scroll_event): Fix sign of delta_y.
authorPo Lu <luangruo@yahoo.com>
Wed, 22 Dec 2021 13:32:14 +0000 (21:32 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 22 Dec 2021 13:33:00 +0000 (21:33 +0800)
src/pgtkterm.c

index 24203ea982e719c3ff903d635c9c0dbbd1718387..74ecde0979761a3020138af33fbc38273af9a670 100644 (file)
@@ -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
        {