Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
SDL_WM_GrabInput(3) | SDL API Reference | SDL_WM_GrabInput(3) |
NAME
SDL_WM_GrabInput - Grabs mouse and keyboard input.SYNOPSIS
#include "SDL.h"DESCRIPTION
Grabbing means that the mouse is confined to the application window, and nearly all keyboard input is passed directly to the application, and not interpreted by a window manager, if any.typedef enum {
SDL_GRAB_QUERY,
SDL_GRAB_OFF,
SDL_GRAB_ON
} SDL_GrabMode;
RETURN VALUE
The current/new SDL_GrabMode.Tue 11 Sep 2001, 23:01 | SDL |