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