Grab Functions
==============
- Function: grab-server
Prevent any other clients from accessing the X server.
- Function: ungrab-server
After a call to `grab-server' this will allow other clients to
access the X server again.
Note that calls to `grab-server' and `ungrab-server' _nest_.
- Macro: with-server-grabbed &rest forms
Evaluate forms with the server grabbed. Releases the grab
afterwards.
- Function: server-grabbed-p
Returns `t' if the X server is currently grabbed.
- Function: grab-pointer &optional window cursor
Grab the mouse pointer and direct all pointer events to window
object WINDOW. If CURSOR is defined and a cursor object, display
this while the pointer is grabbed.
If WINDOW is `nil', or unviewable, the grab will be made on the
root window.
Returns `y' if the grab succeeded.
- Function: ungrab-pointer
Release the grab on the mouse pointer.
- Function: grab-keyboard &optional window
Grab the keyboard and direct all keyboard events to window object
WINDOW. If WINDOW is `nil', or unviewable, the grab will be made
on the root window.
Returns non-nil if the grab succeeded.
- Function: ungrab-keyboard
Release the grab on the keyboard.