On 2012-01-30 12:34, Erik Rull wrote:
> Hi Jan,
>
> I'm sorry, but this does not solve my issue. I applied the patch and
> crosschecked that the resulting file looks fine.
>
> The final function looks like:
>
> static void sdl_grab_start(void)
> {
> /*
> * If the application is not active, do not try to enter grab state. This
> * prevents 'SDL_WM_GrabInput(SDL_GRAB_ON)' from blocking all the
> * application (SDL bug).
> */
> if (!(SDL_GetAppState() & SDL_APPINPUTFOCUS)) {
> return;
> }
> if (guest_cursor) {
> SDL_SetCursor(guest_sprite);
> if (!kbd_mouse_is_absolute() && !absolute_enabled)
> SDL_WarpMouse(guest_x, guest_y);
> } else
> sdl_hide_cursor();
> SDL_WM_GrabInput(SDL_GRAB_ON);
> gui_grab = 1;
> sdl_update_caption();
> }
That makes no sense as gui_grab must be 1 now. Please retry your
previous instrumentation.
Thanks,
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux