Commit 3ab7d5d7 authored by dscho's avatar dscho

SDLvncviewer: enable key repeat

Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent 2742c957
2009-03-06 Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
* client_examples/SDLvncviewer.c: enable key repeat
2009-02-03 Mike Frysinger <vapier@gentoo.org> 2009-02-03 Mike Frysinger <vapier@gentoo.org>
* autogen.sh, configure.ac, **/Makefile.am: major automake cleanups * autogen.sh, configure.ac, **/Makefile.am: major automake cleanups
......
...@@ -5,7 +5,6 @@ make SDLvncviewer more versatile ...@@ -5,7 +5,6 @@ make SDLvncviewer more versatile
- Send modifiers key-up on leave focus, - Send modifiers key-up on leave focus,
- test for missing keys (especially "[]{}" with ./examples/mac), - test for missing keys (especially "[]{}" with ./examples/mac),
- map Apple/Linux/Windows keys onto each other, - map Apple/Linux/Windows keys onto each other,
- keyboard repeat,
- introduce scrollbars, - introduce scrollbars,
- handle selection - handle selection
style fixes: use Linux' coding guidelines & ANSIfy tightvnc-filetransfer: style fixes: use Linux' coding guidelines & ANSIfy tightvnc-filetransfer:
......
...@@ -242,6 +242,8 @@ int main(int argc,char** argv) { ...@@ -242,6 +242,8 @@ int main(int argc,char** argv) {
SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE); SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE);
SDL_EnableUNICODE(1); SDL_EnableUNICODE(1);
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY,
SDL_DEFAULT_REPEAT_INTERVAL);
/* 16-bit: cl=rfbGetClient(5,3,2); */ /* 16-bit: cl=rfbGetClient(5,3,2); */
cl=rfbGetClient(8,3,4); cl=rfbGetClient(8,3,4);
......
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