changeset 3003:278bd32a15de

6973199: java/awt/Robot/RobotWheelTest/RobotWheelTest.html failed on JDK7 b102 bug passed on b101 Reviewed-by: art, yan
author dav
date Wed, 13 Oct 2010 17:03:13 +0400
parents a8bd5f04f4fb
children c595c2730226
files src/solaris/classes/sun/awt/X11/XWindow.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/classes/sun/awt/X11/XWindow.java	Tue Oct 12 18:20:07 2010 +0400
+++ b/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);
             }
         }