summaryrefslogtreecommitdiffstats
path: root/client_examples/SDLvncviewer.c
diff options
context:
space:
mode:
authordscho <dscho>2008-02-02 03:56:09 +0000
committerdscho <dscho>2008-02-02 03:56:09 +0000
commit20fe2c2e96cb648f94e0e8070cc6c32d4f282855 (patch)
treed6dae0b6327acbbe6294ef7020d4f908d5d9c95f /client_examples/SDLvncviewer.c
parentd6fe147f345beeab1bd03d7f8cb5b6072a99e82e (diff)
downloadlibtdevnc-20fe2c2e96cb648f94e0e8070cc6c32d4f282855.tar.gz
libtdevnc-20fe2c2e96cb648f94e0e8070cc6c32d4f282855.zip
SDLvncviewer: fix translation of the Tab key
Signed-off-by: Johannes Schindelin <[email protected]>
Diffstat (limited to 'client_examples/SDLvncviewer.c')
-rw-r--r--client_examples/SDLvncviewer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client_examples/SDLvncviewer.c b/client_examples/SDLvncviewer.c
index 99c8e85..64f0f56 100644
--- a/client_examples/SDLvncviewer.c
+++ b/client_examples/SDLvncviewer.c
@@ -58,7 +58,7 @@ static rfbKeySym SDL_key2rfbKeySym(SDL_KeyboardEvent* e) {
rfbKeySym k = 0;
switch(e->keysym.sym) {
case SDLK_BACKSPACE: k = XK_BackSpace; break;
- case SDLK_TAB: k = XK_ISO_Left_Tab; break;
+ case SDLK_TAB: k = XK_Tab; break;
case SDLK_CLEAR: k = XK_Clear; break;
case SDLK_RETURN: k = XK_Return; break;
case SDLK_PAUSE: k = XK_Pause; break;