Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

SDL_WM_GrabInput - Grabs mouse and keyboard input.

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.

       When mode is SDL_GRAB_QUERY the grab mode is not changed, but the current grab mode is returned.

       typedef enum {
         SDL_GRAB_QUERY,
         SDL_GRAB_OFF,
         SDL_GRAB_ON
       } SDL_GrabMode;

Name

       SDL_WM_GrabInput - Grabs mouse and keyboard input.

Return Value

       The current/new SDL_GrabMode.

SDL                                          Tue 11 Sep 2001, 23:01                          SDL_WM_GrabInput(3)

Synopsis

#include"SDL.h"SDL_GrabModeSDL_WM_GrabInput(SDL_GrabModemode);

See Also