XGrabServer(3x11) XLIB FUNCTIONS XGrabServer(3x11)NAME
XGrabServer, XUngrabServer - grab the server
SYNTAX
cc [ flag... ] file... -lX11 [ library... ]
int XGrabServer(Display *display);
int XUngrabServer(Display *display);
ARGUMENTS
display Specifies the connection to the X server.
DESCRIPTION
The XGrabServer function disables processing of requests and close
downs on all other connections than the one this request arrived on.
You should not grab the X server any more than is absolutely necessary.
The XUngrabServer function restarts processing of requests and close
downs on other connections. You should avoid grabbing the X server as
much as possible.
SEE ALSOXGrabButton(3x11), XGrabKey(3x11), XGrabKeyboard(3x11), XGrab‐
Pointer(3x11)
Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │x11/library/libx11 │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │See XInitThreads(3X11) │
└─────────────────────────────┴─────────────────────────────┘
X Version 11 libX11 1.3.5 XGrabServer(3x11)