File scroll.diff of Package gimp3

diff --git a/libgimpwidgets/gimpspinbutton.c b/libgimpwidgets/gimpspinbutton.c
index 7abd79a62e..58205f6d6e 100644
--- a/libgimpwidgets/gimpspinbutton.c
+++ b/libgimpwidgets/gimpspinbutton.c
@@ -116,8 +116,8 @@ static gboolean
 gimp_spin_button_scroll (GtkWidget      *widget,
                          GdkEventScroll *event)
 {
-  if (event->direction == GDK_SCROLL_UP ||
-      event->direction == GDK_SCROLL_DOWN)
+  if (event->state & GDK_MOD1_MASK
+      && (event->direction == GDK_SCROLL_UP || event->direction == GDK_SCROLL_DOWN))
     {
       GtkSpinButton *spin_button = GTK_SPIN_BUTTON (widget);
       GtkAdjustment *adjustment  = gtk_spin_button_get_adjustment (spin_button);
openSUSE Build Service is sponsored by