search for: last_vm_run

Displaying 2 results from an estimated 2 matches for "last_vm_run".

2008 Mar 05
0
[PATCH] ioemu: fix SDL mouse events processing
...ault@eu.citrix.com> diff -r 86e64b684fb2 tools/ioemu/sdl.c --- a/tools/ioemu/sdl.c Wed Mar 05 11:10:29 2008 +0000 +++ b/tools/ioemu/sdl.c Wed Mar 05 11:41:24 2008 +0000 @@ -360,6 +360,7 @@ { SDL_Event ev1, *ev = &ev1; int mod_state; + int state; if (last_vm_running != vm_running) { last_vm_running = vm_running; @@ -368,6 +369,7 @@ vga_hw_update(); + state = SDL_GetMouseState(NULL, NULL); while (SDL_PollEvent(ev)) { switch (ev->type) { case SDL_VIDEOEXPOSE: @@ -475,41 +477,38 @@ case SDL_MOUSEMOTION:...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...lude <SDL_opengl.h> #endif -static SDL_Surface *screen; -static SDL_Surface *shared = NULL; +static DisplayChangeListener *dcl; +static SDL_Surface *real_screen; +static SDL_Surface *guest_screen = NULL; static int gui_grab; /* if true, all keyboard/mouse events are grabbed */ static int last_vm_running; static int gui_saved_grab; @@ -52,17 +53,15 @@ static SDL_Cursor *sdl_cursor_hidden; static int absolute_enabled = 0; static int opengl_enabled; -static uint8_t bgr; - -static void sdl_colourdepth(DisplayState *ds, int depth); #ifdef CONFIG_OPENGL static GLint tex_format; static GLint...