diff options
author | dscho <dscho> | 2009-03-06 16:06:38 +0000 |
---|---|---|
committer | dscho <dscho> | 2009-03-06 16:06:38 +0000 |
commit | 3ab7d5d7663bc995f463dcc23cb36b70e7c6e841 (patch) | |
tree | 809b30e45beed9baeefc549bc7be7784d914ec2b /client_examples/SDLvncviewer.c | |
parent | 2742c9579f465399797992a0e031d941ed0ae18f (diff) | |
download | libtdevnc-3ab7d5d7663bc995f463dcc23cb36b70e7c6e841.tar.gz libtdevnc-3ab7d5d7663bc995f463dcc23cb36b70e7c6e841.zip |
SDLvncviewer: enable key repeat
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'client_examples/SDLvncviewer.c')
-rw-r--r-- | client_examples/SDLvncviewer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client_examples/SDLvncviewer.c b/client_examples/SDLvncviewer.c index d01c97d..791c308 100644 --- a/client_examples/SDLvncviewer.c +++ b/client_examples/SDLvncviewer.c @@ -242,6 +242,8 @@ int main(int argc,char** argv) { SDL_Init(SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE); SDL_EnableUNICODE(1); + SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, + SDL_DEFAULT_REPEAT_INTERVAL); /* 16-bit: cl=rfbGetClient(5,3,2); */ cl=rfbGetClient(8,3,4); |