SDL_GetWindowMouseRect

Get the mouse confinement rectangle of a window.

extern (C) nothrow @nogc extern
const(SDL_Rect)*
SDL_GetWindowMouseRect

Parameters

window SDL_Window*

the window to query.

Return Value

Type: const(SDL_Rect)*

a pointer to the mouse confinement rectangle of a window, or NULL if there isn't one.

Threadsafety: This function should only be called on the main thread.

See Also

Meta