Get a window's mouse grab mode.
Defined in <SDL3/SDL_video.h>
SDL_bool SDL_GetWindowMouseGrab(SDL_Window *window);
window | the window to query |
Returns SDL_TRUE if mouse is grabbed, and SDL_FALSE otherwise.
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction