Displaying 3 results from an estimated 3 matches for "gui_grab".
2008 Mar 05
0
[PATCH] ioemu: fix SDL mouse events processing
...g) {
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:
if (gui_grab || kbd_mouse_is_absolute() ||
absolute_enabled) {
- int dx, dy, state;
- state = SDL_GetRelativeMouseState(&dx, &dy);
- sdl_send_mouse_event(dx, dy, 0, state);
+ int dx, dy;
+ SDL_GetRelativeMouseSta...
2005 Nov 29
1
[PATCH] Disable SDL repeat key.
...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
...diff --git a/sdl.c b/sdl.c
--- a/sdl.c
+++ b/sdl.c
@@ -35,8 +35,9 @@
#include <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 *d...