Set the window as a modal for another window.
Defined in SDL_video.h
modal_window | the window that should be set modal |
parent_window | the parent window for the modal window |
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
This function is available since SDL 2.0.5.