pub unsafe extern "C" fn SDL_SetWindowMouseGrab(
    window: *mut SDL_Window,
    grabbed: SDL_bool
)
Expand description

Set a window’s mouse grab mode.

  • window The window for which the mouse grab mode should be set.

See Also: SDL_GetWindowMouseGrab, SDL_SetWindowKeyboardGrab, SDL_SetWindowGrab