DOKK / manpages / debian 10 / libsdl1.2-dev / SDL_GetAppState.3.en
SDL_GetAppState(3) SDL API Reference SDL_GetAppState(3)

SDL_GetAppState - Get the state of the application

#include "SDL.h"

Uint8 SDL_GetAppState(void);

This function returns the current state of the application. The value returned is a bitwise combination of:

The application has mouse focus.
The application has keyboard focus
The application is visible

SDL_ActiveEvent

Tue 11 Sep 2001, 22:59 SDL