sdlGetGrabbedWindow function
Get the window that currently has an input grab enabled.
\returns the window if input is grabbed or NULL otherwise.
\since This function is available since SDL 2.0.4.
\sa SDL_GetWindowGrab \sa SDL_SetWindowGrab
extern DECLSPEC SDL_Window * SDLCALL SDL_GetGrabbedWindow(void)
Implementation
Pointer<SdlWindow> sdlGetGrabbedWindow() {
final sdlGetGrabbedWindowLookupFunction = libSdl2.lookupFunction<
Pointer<SdlWindow> Function(),
Pointer<SdlWindow> Function()>('SDL_GetGrabbedWindow');
return sdlGetGrabbedWindowLookupFunction();
}