提交 19998e97 编写于 作者: Y yan

6957166: With XAWT, set arguments properly creating a MouseWheelEvent.

Summary: swap some parameters to allow bigger values for click count.
Reviewed-by: dav
上级 9b656f29
......@@ -778,8 +778,8 @@ public class XWindow extends XBaseWindow implements X11ComponentPeer {
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);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册