[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Linux Squeak VM X11 keyboard changes breaks 32b VM (#396)

kksubbu notifications at github.com
Tue May 28 06:52:58 UTC 2019

Thanks Tim,

The following lines in sqUnixX11.c doesn't seem right. When Ctrl and p are pressed at the same time, sq2KeyPlain should return ctrl-p (16r10). This code returns p instead (16r70). I don't understand why this change was made.
2065   if (charCode >= 1 && charCode <= 26) {
2066     /* check for Ctrl-letter that gets translated into charCode 1-26 instead of letters a-z */
2067     KeySym keysym = *symbolic;
2068     if (keysym >= XK_a && keysym <= XK_z)
2069       return (int)'a' + (keysym - XK_a);
2070     if (keysym >= XK_A && keysym <= XK_Z)
2071       return (int)'A' + (keysym - XK_A);
Could you try a build with this section removed and see if it fixes your problem?

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/20190527/b7e130cd/attachment.html>

More information about the Vm-dev mailing list