XGrabServer man page

XGrabServer, XUngrabServer — grab the server


int XGrabServer(Display *display);

int XUngrabServer(Display *display);


Specifies the connection to the X server.


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 Also

XGrabButton(3), XGrabKey(3), XGrabKeyboard(3), XGrabPointer(3)
Xlib - C Language X Interface

Referenced By

Explore man page connections for XGrabServer(3).

XUngrabServer(3) is an alias of XGrabServer(3).

X Version 11 1.6.4 XLIB FUNCTIONS