diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-12-11 11:25:07 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-12 07:59:45 -0600 |
commit | 4a93fe17081c7ae7f4d5607b266ca384d328986c (patch) | |
tree | c195f3c50cb42ddaece35fa4032ce445ea0fc930 /json-streamer.h | |
parent | d318ff9900f080dfa802bbbea81f1a68dcd02013 (diff) |
vnc: fix capslock tracking logic.
The capslock tracking logic added by commit
6b1325029d80455b9da7cd7bd84a88cb915b867c doesn't work correctly for vnc
clients without EXT_KEY_EVENT support. The reason is that qemu converts
keysyms for letters to lowercase for the keysym2scancode lookup. It
then also passes the lowercase value down to do_key_event(), but the
capslock tracking code needs it with the correct case to work properly.
This patch adds a new variable for the lowercase keysym so we'll keep
the unmodified value for do_key_event().
The keysym2scancode is not needed with EXT_KEY_EVENT capable clients
like any app based on the gtk-vnc widget, so I missed that case in
testing ...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'json-streamer.h')
0 files changed, 0 insertions, 0 deletions