Module protocol

Source
Expand description

Bindings to the X11 protocol.

Each sub-module of this module corresponds to one X11 extension. It contains all the definitions from that extension. The core X11 protocol is in xproto.

Modulesยง

bigreq
Bindings to the BigRequests X11 extension.
ge
Bindings to the GenericEvent X11 extension.
randr
Bindings to the RandR X11 extension.
render
Bindings to the Render X11 extension.
shape
Bindings to the Shape X11 extension.
xc_misc
Bindings to the XCMisc X11 extension.
xfixes
Bindings to the XFixes X11 extension.
xinput
Bindings to the Input X11 extension.
xkb
Bindings to the xkb X11 extension.
xproto
Bindings to the core X11 protocol.

Enumsยง

ErrorKind
Enumeration of all possible X11 error kinds.
Event
Enumeration of all possible X11 events.
Reply
Enumeration of all possible X11 replies.
Request
Enumeration of all possible X11 requests.
RequestInfo ๐Ÿ”’
Helper container for translating numeric request information to a string

Functionsยง

get_request_name
Get the name of a request based on its major and minor code.
get_request_name_internal ๐Ÿ”’
Get information about a request based on its major and minor code.
parse_reply ๐Ÿ”’
parse_reply_fds ๐Ÿ”’
request_name ๐Ÿ”’
Get the name of a request from its extension name and opcodes.
response_type ๐Ÿ”’
Get the response type out of the raw bytes of an X11 error or event.
sequence_number ๐Ÿ”’
Get the sequence number out of an X11 packet.