[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] x11: emit mouse wheel events, drop the ctrl+arrow workaround (#303)

Eliot Miranda notifications at github.com
Sat Nov 10 02:26:02 UTC 2018


The scope of backward-compatibility for the VM is complete except between major releases, so a 5.n VM must be backward-compatible with any and all 5.x, x <= n.  So the right way to do this is
a) make all platforms test a flag (I propose sendWheelEvents) and if the flag is set, deliver the events as EventTypeMouseWheel, otherwise to do the current mapping hack
b) add a bit to the image state flags that persist in the image header that corresponds to the sendWheelEvents, and initialize sendWheelEvents at start-up based on this flag
c) add a command-line switch (eg -wheelevents & -no-wheelevents) to override the flag

Tom, if you have energy can you write code for a) ?  I will do b) & c), and will do a) if you're indisposed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/303#issuecomment-437551211
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20181109/71dace7a/attachment.html>


More information about the Vm-dev mailing list