static void absolute_mouse_grab(void)

{

    int mouse_x, mouse_y;



    if (SDL_GetAppState() & SDL_APPINPUTFOCUS) {

        SDL_GetMouseState(&mouse_x, &mouse_y);

        if (mouse_x > 0 && mouse_x < real_screen->w - 1 &&

            mouse_y > 0 && mouse_y < real_screen->h - 1) {

            sdl_grab_start();

        }

    }

}

static void absolute_mouse_grab(void)

{

    int mouse_x, mouse_y;



    if (SDL_GetAppState() & SDL_APPINPUTFOCUS) {

        SDL_GetMouseState(&mouse_x, &mouse_y);

        if (mouse_x > 0 && mouse_x < real_screen->w - 1 &&

            mouse_y > 0 && mouse_y < real_screen->h - 1) {

            sdl_grab_start();

        }

    }

}

static void FUNC_0(void)

{

    int VAR_0, VAR_1;



    if (SDL_GetAppState() & SDL_APPINPUTFOCUS) {

        SDL_GetMouseState(&VAR_0, &VAR_1);

        if (VAR_0 > 0 && VAR_0 < real_screen->w - 1 &&

            VAR_1 > 0 && VAR_1 < real_screen->h - 1) {

            sdl_grab_start();

        }

    }

}

static void FUNC_0(void)
{ int VAR_0, VAR_1; if (SDL_GetAppState() & SDL_APPINPUTFOCUS) { SDL_GetMouseState(&VAR_0, &VAR_1); if (VAR_0 > 0 && VAR_0 < real_screen->w - 1 &&
VAR_1 > 0 && VAR_1 < real_screen->h - 1) { sdl_grab_start(); } } }