[PATCH] Disable SDL repeat key.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Disable SDL repeat key.

Dong, Eddie
This is to disable SDL repeat key to fix the repeat key issue in slow
network connection situation.
thx,eddie


Signed-off-by: Eddie Dong <[hidden email]>


diff -r f6fdb6e0d3c9 tools/ioemu/sdl.c
--- a/tools/ioemu/sdl.c Thu Nov 17 13:56:50 2005
+++ b/tools/ioemu/sdl.c Sun Nov 27 22:26:07 2005
@@ -592,7 +592,7 @@
 
     sdl_resize(ds, 640, 400);
     sdl_update_caption();
-    SDL_EnableKeyRepeat(250, 50);
+//    SDL_EnableKeyRepeat(250, 50);
     SDL_EnableUNICODE(1);
     gui_grab = 0;
 

_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel

sdl_repeat.patch (604 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: [PATCH] Disable SDL repeat key.

Ling, Xiaofeng
Maybe we'd better add a command line option for this.

Dong, Eddie <> wrote:

> This is to disable SDL repeat key to fix the repeat key issue in slow
> network connection situation. thx,eddie
>
>
> Signed-off-by: Eddie Dong <[hidden email]>
>
>
> diff -r f6fdb6e0d3c9 tools/ioemu/sdl.c
> --- a/tools/ioemu/sdl.c Thu Nov 17 13:56:50 2005
> +++ b/tools/ioemu/sdl.c Sun Nov 27 22:26:07 2005
> @@ -592,7 +592,7 @@
>
>      sdl_resize(ds, 640, 400);
>      sdl_update_caption();
> -    SDL_EnableKeyRepeat(250, 50);
> +//    SDL_EnableKeyRepeat(250, 50);
>      SDL_EnableUNICODE(1);
>      gui_grab = 0;

_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel