Function sdl2_sys::SDL_GetGrabbedWindow

source ยท
pub unsafe extern "C" fn SDL_GetGrabbedWindow() -> *mut SDL_Window
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