Re: [EXTERNAL] - Details on using xcb_send_request()?
Junk Mail <ireallyhatespam-zJpx2rpV7r/[email protected]> Thu, 04 Feb 2021 16:28:34 +0000
| Newsgroups | gmane.comp.freedesktop.xcb |
|---|---|
| Message-ID | <[email protected]> |
Thank you very much! 04.02.2021, 16:13, "Alan Coopersmith" <[email protected]>: On 2/4/21 7:50 AM, Junk Mail wrote: - all I am going to assume that the part where you say "every X11 request must be a multiple of 4 bytes" is specific to the implementation, the protocol says: Every request consists of four bytes of a header (containing the major opcode, the length field, and a data byte) followed by zero or more additional bytes of data. So every request is four bytes for header + data, if it has to be multiple of 4, then the text in the protocol should be updated to reflect this. https://www.x.org/releases/current/doc/xproto/x11protocol.html#request_format already says the length of a request is defined in "units of four bytes". -- -Alan Coopersmith- [email protected] Oracle Solaris Engineering - https://blogs.oracle.com/alanc _______________________________________________ Xcb mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/xcb