Function x11rb_protocol::protocol::get_request_name_internal
source ยท fn get_request_name_internal(
ext_info_provider: &dyn ExtInfoProvider,
major_opcode: u8,
minor_opcode: u8,
) -> (Option<&str>, RequestInfo)
Expand description
Get information about a request based on its major and minor code.
The major and minor opcode are the first and second byte of a request. Core requests do not have a minor opcode. For these, the minor opcode is ignored by this function.
This function returns the name of the extension to which the request belongs, if available, and information about the specific request.