XUngrabKeyboard
Syntax
XUngrabKeyboard(display, time)
Display *display;
Time time;
Arguments
display
| Specifies the connection to the X server.
|
time
| Specifies the time.
You can pass either a timestamp or
CurrentTime.
|
Description
The
XUngrabKeyboard()
function
releases the keyboard and any queued events if this client has it actively grabbed from
either
XGrabKeyboard()
or
XGrabKey().
XUngrabKeyboard()
does not release the keyboard and any queued events
if the specified time is earlier than
the last-keyboard-grab time or is later than the current X server time.
It also generates
FocusIn
and
FocusOut
events.
The X server automatically performs an
UngrabKeyboard
request if the event window for an
active keyboard grab becomes not viewable.
See also
XAllowEvents(),
XGrabButton(),
XGrabKey(),
XGrabKeyboard(),
XGrabPointer(),
"
Keyboard Grabbing".
Christophe Tronche, [email protected]