Function x11rb_protocol::protocol::get_request_name

source ยท
pub fn get_request_name(
    ext_info_provider: &dyn ExtInfoProvider,
    major_opcode: u8,
    minor_opcode: u8,
) -> Cow<'static, str>
Expand description

Get the name of 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.