XGrabServer(X3xlib) X Version 11 (Release 6.1)


XGrabServer -- grab the server

Synopsis

   XGrabServer(display) 
         Display *display; 
   

XUngrabServer(display) 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.

References

XGrabButton(X3xlib), XGrabKey(X3xlib), XGrabKeyboard(X3xlib), XGrabPointer(X3xlib)

Xlib - C Language X Interface


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.