sdlGetMouseFocus function
Get the window which currently has mouse focus.
\returns the window with mouse focus.
\since This function is available since SDL 2.0.0.
extern DECLSPEC SDL_Window * SDLCALL SDL_GetMouseFocus(void)
Implementation
Pointer<SdlWindow> sdlGetMouseFocus() {
final sdlGetMouseFocusLookupFunction = libSdl2.lookupFunction<
Pointer<SdlWindow> Function(),
Pointer<SdlWindow> Function()>('SDL_GetMouseFocus');
return sdlGetMouseFocusLookupFunction();
}