Get the window that currently has an input grab enabled.
Defined in <SDL3/SDL_video.h>
void); SDL_Window * SDL_GetGrabbedWindow(
(SDL_Window *) Returns the window if input is grabbed or NULL otherwise.
This function should only be called on the main thread.
This function is available since SDL 3.1.3.