diff options
| author | Pietro Gagliardi <[email protected]> | 2014-04-14 12:47:49 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-04-14 12:47:49 -0400 |
| commit | a29abd11c03960096ec3efa63741997eff8494ca (patch) | |
| tree | 7411a2d5e9098eee2c36ac2d7022879b9253f491 /area.go | |
| parent | d27d25cbc0e3440f7cf34ceeb6e95614866a9822 (diff) | |
Ensured that pressing Modifiers+Key/ExtKey does not produce an event with just the Key/ExtKey.
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -168,6 +168,8 @@ type KeyEvent struct { // was pressed. Key and ExtKey will not both be nonzero. ExtKey ExtKey + // (TODO Modifiers alone needs to be figured out) + // If a Key or ExtKey is pressed with modifiers held down, then a KeyEvent with only Key/ExtKey and no Modifiers WILL NOT be sent, but a KeyEvent with only Modifiers and no Key/ExtKey WILL. Modifiers Modifiers // If Up is true, the key was released; if not, the key was pressed. |
