search for: sdl_getrelativemousestate

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

2008 Mar 05
0
[PATCH] ioemu: fix SDL mouse events processing
...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_GetRelativeMouseState(&dx, &dy); + if (dx || dy) + sdl_send_mouse_event(dx, dy, 0, state); } break;...
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled functionality into the qemu-dm code. The general approach taken is to have qemu-dm provide two machine types - one for xen paravirt, the other for fullyvirt. For compatability the later is the default. The goals overall are to kill LibVNCServer, remove alot of code duplication and/or parallel impls of the same concepts, and