Certain cases may require that a client demand exclusive access to the server, causing the processing for all other clients to be suspended. Such exclusive access is referred to as grabbing the server. CLX provides functions to grab and release exclusive access to the server. These function should be used rarely and always with extreme caution, since they have the potential to disrupt the entire window system for all clients.
grab-server | display | Function |
Disables processing of requests and close-downs on all connections other than the one on which this request arrived. |
ungrab-server | display | Function |
Restarts processing of requests and close-downs on other connections. |
with-server-grabbed | display &body body | Macro |
Grabs the display server only within the dynamic extent of the body. ungrab-server is automatically called upon exit from the body. This macro provides the most reliable way for CLX clients to grab the server. |