commit | da58074b429933d2abeae71d6ef619366febf38e | [log] [tgz] |
---|---|---|
author | Green Lightning <GreenLightning.git@googlemail.com> | Mon Dec 23 19:36:32 2019 +0000 |
committer | Alex Brainman <alex.brainman@gmail.com> | Fri Dec 27 19:53:50 2019 +0000 |
tree | face60ab3d2dfa02cbb4eed6b72fa3b6242926bb | |
parent | 1fea468a75e944dc88afb929b46fe9e7fa95f7e3 [diff] |
shiny/driver/internal/win32: handle syskey messages Under certain circumstances Windows sends `_WM_SYSKEYDOWN` and `_WM_SYSKEYUP` messages instead of `_WM_KEYDOWN` and `_WM_KEYUP` messages. This handles the `SYSKEY` messages in the same way as the other messages, to be able to forward all key events to the application. The exact circumstances are when the key is F10 or when the ALT key is currently pressed while another key is pressed. This behavior is documented in the Windows documentation [here](https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-syskeydown). Fixes golang/go#36213. Change-Id: I12ef1b45110a2e02ce319b12c1e6d93a011e5fab GitHub-Last-Rev: 60a04482b25617f456c0f05a6e6737a0acd0bc6d GitHub-Pull-Request: golang/exp#8 Reviewed-on: https://go-review.googlesource.com/c/exp/+/212403 Run-TryBot: Alex Brainman <alex.brainman@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.