Lines Matching full:state
52 int SDL_PrivateAppActive(Uint8 gain, Uint8 state)
57 /* Modify the current state with the given mask */
59 new_state = (SDL_appstate | state);
61 new_state = (SDL_appstate & ~state);
64 /* Drop events that don't change state */
69 /* Update internal active state */
79 event.active.state = state;
87 if ( (state & SDL_APPINPUTFOCUS) && !gain ) {
91 if ( (state & SDL_APPACTIVE) && !gain ) {