Commit 20fe2c2e authored by dscho's avatar dscho

SDLvncviewer: fix translation of the Tab key

Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent d6fe147f
...@@ -4,7 +4,6 @@ immediate: ...@@ -4,7 +4,6 @@ immediate:
Implement ZYWRLE decoding in libvncclient Implement ZYWRLE decoding in libvncclient
make SDLvncviewer more versatile (test for missing keys, introduce scrollbars, make SDLvncviewer more versatile (test for missing keys, introduce scrollbars,
make scrollable with 2xCtrl and mouse drag) make scrollable with 2xCtrl and mouse drag)
- Tab does not work
- Left Ctrl + A does not work - Left Ctrl + A does not work
- 2nd and 3rd mouse button are switched - 2nd and 3rd mouse button are switched
Clean up ZRLE (probably not thread-safe: zrleBeforeBuf, zrlePaletteHelper) Clean up ZRLE (probably not thread-safe: zrleBeforeBuf, zrlePaletteHelper)
......
...@@ -58,7 +58,7 @@ static rfbKeySym SDL_key2rfbKeySym(SDL_KeyboardEvent* e) { ...@@ -58,7 +58,7 @@ static rfbKeySym SDL_key2rfbKeySym(SDL_KeyboardEvent* e) {
rfbKeySym k = 0; rfbKeySym k = 0;
switch(e->keysym.sym) { switch(e->keysym.sym) {
case SDLK_BACKSPACE: k = XK_BackSpace; break; 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_CLEAR: k = XK_Clear; break;
case SDLK_RETURN: k = XK_Return; break; case SDLK_RETURN: k = XK_Return; break;
case SDLK_PAUSE: k = XK_Pause; break; case SDLK_PAUSE: k = XK_Pause; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment