diff options
author | Gal Hammer <ghammer@redhat.com> | 2011-11-14 12:51:39 +0200 |
---|---|---|
committer | Uri Lublin <uril@redhat.com> | 2011-11-24 18:31:31 +0200 |
commit | 1ddeafdf2d4e2f96e2218ee014cb66bf13c9d955 (patch) | |
tree | e2c03220e2aecc3ae2266bf89b6aaaf60acaaff9 /python_modules/codegen.py | |
parent | 97004c802655d920e526b3858aa76747bdf01f27 (diff) | |
download | spice-1ddeafdf2d4e2f96e2218ee014cb66bf13c9d955.tar.gz spice-1ddeafdf2d4e2f96e2218ee014cb66bf13c9d955.tar.xz spice-1ddeafdf2d4e2f96e2218ee014cb66bf13c9d955.zip |
client: handle the redundant right ctrl windows' message send when a alt-gr is pressed bz#709074
Hello,
The second patch check to see if Windows is sending a fake VK_CONTROL
message when the user pressed Alt-Gr when using a non-US keyboard layout
(German, Czech, etc...).
If the function is_fake_ctrl return true and key event is translated to
a REDKEY_INVALID and the event is discarded.
Gal.
(cherry picked from commit 9ffa2e9990dc5d5ae61c227d10d5234753c08402)
Diffstat (limited to 'python_modules/codegen.py')
0 files changed, 0 insertions, 0 deletions