6973199: java/awt/Robot/RobotWheelTest/RobotWheelTest.html failed on JDK7 b102 bug passed on b101
authordav
Wed, 13 Oct 2010 17:03:13 +0400
changeset 6824 053f05edc068
parent 6823 cff6c85026c4
child 6825 795e9fe949d3
6973199: java/awt/Robot/RobotWheelTest/RobotWheelTest.html failed on JDK7 b102 bug passed on b101 Reviewed-by: art, yan
jdk/src/solaris/classes/sun/awt/X11/XWindow.java
--- a/jdk/src/solaris/classes/sun/awt/X11/XWindow.java	Tue Oct 12 18:20:07 2010 +0400
+++ b/jdk/src/solaris/classes/sun/awt/X11/XWindow.java	Wed Oct 13 17:03:13 2010 +0400
@@ -779,7 +779,7 @@
                                                           xbe.get_x_root(),
                                                           xbe.get_y_root(),
                                                           1,false,MouseWheelEvent.WHEEL_UNIT_SCROLL,
-                                                          3,button==4 ?  -1*clickCount : 1*clickCount);
+                                                          3,button==4 ?  -1 : 1);
                 postEventToEventQueue(mwe);
             }
         }