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:07 +0200 |
commit | 1f2d55b38b7a0628c20385f306533f4e6bd66d7f (patch) | |
tree | 79718ef8b0e3dc2d4e75915618ce04d1523dd005 /client/foreign_menu.cpp | |
parent | 66f611bccf865701a26967c6c9ceef4cd130b04d (diff) | |
download | spice-1f2d55b38b7a0628c20385f306533f4e6bd66d7f.tar.gz spice-1f2d55b38b7a0628c20385f306533f4e6bd66d7f.tar.xz spice-1f2d55b38b7a0628c20385f306533f4e6bd66d7f.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 'client/foreign_menu.cpp')
0 files changed, 0 insertions, 0 deletions