Function SDL_GetGrabbedWindow

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

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