Function SDL_GetMouseFocus

pub unsafe extern "C" fn SDL_GetMouseFocus() -> *mut SDL_Window
Available on crate feature dep_sdl3 only.
Expand description

Get the window which currently has mouse focus.

§Return value

Returns the window with mouse focus.

§Thread safety

This function should only be called on the main thread.

§Availability

This function is available since SDL 3.2.0.