[OpenSmalltalk/opensmalltalk-vm] 92119e: Fix missing KeyRelease events when multiple keys a...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] 92119e: Fix missing KeyRelease events when multiple keys a...

Eliot Miranda-3
 
  Branch: refs/heads/mantis-7579
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 92119ef98936767a29b740bf54dc8706f5cfc254
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/92119ef98936767a29b740bf54dc8706f5cfc254
  Author: David T. Lewis <[hidden email]>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M platforms/unix/vm-display-X11/sqUnixX11.c

  Log Message:
  -----------
  Fix missing KeyRelease events when multiple keys are depressed.
Reference Mantis 0007597 http://bugs.squeak.org/view.php?id=7597.
Rather than keep a single lastKey to remember the last previously
pressed key value, maintain an array size 256 of last key pressed values
indexed by X11 KeyCode. Works for any number of simultaneous keys.