6957166: With XAWT, set arguments properly creating a MouseWheelEvent.
Summary: swap some parameters to allow bigger values for click count.
Reviewed-by: dav
--- a/jdk/src/solaris/classes/sun/awt/X11/XWindow.java Fri Jun 18 17:13:26 2010 +0400
+++ b/jdk/src/solaris/classes/sun/awt/X11/XWindow.java Thu Jun 24 11:50:18 2010 +0400
@@ -778,8 +778,8 @@
x, y,
xbe.get_x_root(),
xbe.get_y_root(),
- clickCount,false,MouseWheelEvent.WHEEL_UNIT_SCROLL,
- 3,button==4 ? -1 : 1);
+ 1,false,MouseWheelEvent.WHEEL_UNIT_SCROLL,
+ 3,button==4 ? -1*clickCount : 1*clickCount);
postEventToEventQueue(mwe);
}
}