XGrabServer(3) | Library Functions Manual | XGrabServer(3) |
int XGrabServer(Display *display);
int XUngrabServer(Display *display);
The XUngrabServer function restarts processing of requests and close downs on other connections. You should avoid grabbing the X server as much as possible.
X Version 11 | XLIB FUNCTIONS |