[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] fix calculation of x11 scroll distances (#446)

Tom Beckmann notifications at github.com
Sun Nov 17 20:49:34 UTC 2019

I believe these values should be like the below.

Refer to for example here: http://xahlee.info/linux/linux_x11_mouse_button_number.html (the first scroll event is button 4). And the up-direction should be negative for Squeak. After these adjustments the behavior was correct on my machine.

To try out, ensure that you have `Smalltalk sendMouseWheelEvents: true`
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * fix calculation of x11 scroll distances

-- File Changes --

    M platforms/unix/vm-display-X11/sqUnixX11.c (6)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20191117/df3e9a45/attachment.html>

More information about the Vm-dev mailing list