Displaying 2 results from an estimated 2 matches for "sdl_enablekeyrepeat".
2005 Nov 29
1
[PATCH] Disable SDL repeat key.
...tuation.
thx,eddie
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
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
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...enabled)
- ds->dpy_setdata = opengl_setdata;
+ if (opengl_enabled) {
+ dcl->dpy_update = opengl_update;
+ dcl->dpy_setdata = opengl_setdata;
+ }
#endif
+ register_displaychangelistener(ds, dcl);
- sdl_resize(ds, 640, 400);
sdl_update_caption();
SDL_EnableKeyRepeat(250, 50);
gui_grab = 0;
diff --git a/vl.c b/vl.c
--- a/vl.c
+++ b/vl.c
@@ -195,6 +195,7 @@
static DisplayState display_state;
int nographic;
static int curses;
+static int sdl;
const char* keyboard_layout = NULL;
int64_t ticks_per_sec;
ram_addr_t ram_size;
@@ -6245,7 +6246,7 @@
{
}
-...