Fork me on GitHub

LibX11.

XUngrabKeyboard(IntPtr, long) Method

Summary

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.
Namespace
SharpInputSystem
Containing Type
LibX11

Syntax

[DllImportAttribute(LibraryName)]
public static extern void XUngrabKeyboard(IntPtr display, long currentTime)

Attributes

Type Description
DllImportAttribute

Parameters

Name Type Description
display IntPtr Specifies the connection to the X server.
currentTime long Specifies the time. You can pass either a timestamp or CurrentTime.

Return Value

Type Description
void