the window for which the mouse grab mode should be set.
this is true to grab mouse, and false to release.
true on success or false on failure; call SDL_GetError() for more information.
Threadsafety: This function should only be called on the main thread.
Page generated by adrdox
Set a window's mouse grab mode.
Mouse grab confines the mouse cursor to the window.