SDL_WM_IconifyWindow
Iconify/Minimise the window
- Provided by: libsdl1.2-dev (Version: 1.2.15+dfsg1-3ubuntu0.1)
- Source: libsdl1.2
- Report a bug
Iconify/Minimise the window
#include "SDL.h"
int SDL_WM_IconifyWindow(void);
If the application is running in a window managed environment SDL attempts to iconify/minimise it. If SDL_WM_IconifyWindow is successful, the application will receive a SDL_APPACTIVE loss event.
Returns non-zero on success or 0 if iconification is not support or was refused by the window manager.