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