<p>I believe these values should be like the below.</p>
<p>Refer to for example here: <a rel="nofollow" href="http://xahlee.info/linux/linux_x11_mouse_button_number.html">http://xahlee.info/linux/linux_x11_mouse_button_number.html</a> (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.</p>
<p>To try out, ensure that you have <code>Smalltalk sendMouseWheelEvents: true</code></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/446'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/446</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>fix calculation of x11 scroll distances</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/446/files#diff-0">platforms/unix/vm-display-X11/sqUnixX11.c</a>
    (6)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/446.patch'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/446.patch</a></li>
  <li><a href='https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/446.diff'>https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/446.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/446?email_source=notifications&email_token=AIJPEW7TBSJ276O3OREF7RTQUGU55A5CNFSM4JOLVXXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZ4JB7Q">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW35LSA6SK3U3ST3OMTQUGU55ANCNFSM4JOLVXXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEW2M3C6PQVWDRJKK5DDQUGU55A5CNFSM4JOLVXXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZ4JB7Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/446?email_source=notifications\u0026email_token=AIJPEW7TBSJ276O3OREF7RTQUGU55A5CNFSM4JOLVXXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZ4JB7Q",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/446?email_source=notifications\u0026email_token=AIJPEW7TBSJ276O3OREF7RTQUGU55A5CNFSM4JOLVXXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZ4JB7Q",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>