diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-02-03 22:35:07 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-02-04 06:33:26 -0600 |
commit | 4e79bcbb96d3c189e50adbdac7b1e28d834ba43e (patch) | |
tree | fc4a48f4145bb653c45f087f1cdc2be2d84ecca0 /ui/vnc-tls.h | |
parent | 4c3d45eb694de3e0bda10841a06ba98be4d569b1 (diff) |
ui/sdl: Fix handling of caps lock and num lock keys
Starting with SDL version 1.2.14, caps lock and num lock keys
will send a SDL_KEYUP when SDL_DISABLE_LOCK_KEYS=1 is set in
the environment.
The new code sets the environment unconditionally
(it won't harm old versions which do not know it).
The workaround for SDL_KEYUP is only compiled with old SDL versions.
A similar patch without handling of old SDL versions was already
published by Benjamin Drung for Ubuntu.
Cc: Anthony Liguori <aliguori@us.ibm.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Benjamin Drung <benjamin.drung@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'ui/vnc-tls.h')
0 files changed, 0 insertions, 0 deletions