6957166: With XAWT, set arguments properly creating a MouseWheelEvent
Swap some parameters to allow bigger values for click count. Reviewed-by: dav
This commit is contained in:
parent
c49c7ce7e8
commit
83f31097a2
@ -778,8 +778,8 @@ public class XWindow extends XBaseWindow implements X11ComponentPeer {
|
|||||||
x, y,
|
x, y,
|
||||||
xbe.get_x_root(),
|
xbe.get_x_root(),
|
||||||
xbe.get_y_root(),
|
xbe.get_y_root(),
|
||||||
clickCount,false,MouseWheelEvent.WHEEL_UNIT_SCROLL,
|
1,false,MouseWheelEvent.WHEEL_UNIT_SCROLL,
|
||||||
3,button==4 ? -1 : 1);
|
3,button==4 ? -1*clickCount : 1*clickCount);
|
||||||
postEventToEventQueue(mwe);
|
postEventToEventQueue(mwe);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user