Set the window as a modal for another window.
Defined in SDL_video.h
int SDL_SetWindowModalFor(SDL_Window * modal_window, SDL_Window * parent_window);
SDL_Window * | modal_window | the window that should be set modal. |
SDL_Window * | parent_window | the parent window for the modal window. |
(int) 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.