[Xcb] how to use the record extension in xcb...

o. krajka ok at amitego.com
Mon Dec 19 06:36:47 UTC 2016


On 17.12.2016 14:52, Uli Schlachter wrote:
> On 15.12.2016 09:51, zmqdev wrote:
(...)
>
> The XCB header functions are auto-generated from the protocol
> description and the RECORD extension does not really fit into this. Its
> replies can contain almost arbitrary data. I think the XML used to
> express protocol extension is not powerful enough to express RECORD's
> magic and even if it were, the generated result would not be all that
> usable.

makes sense

> I think that all that I can tell you is to stick with Xlib instead of
> XCB when using the RECORD extension.

I do miss XRecordEnableContentAsync and XRecordProcessReplies.

Fortunately, only a few events are of interest.

I am considering handling the data connection in a separate thread.

> Uli
> (who also wrote the above-linked stackoverflow answer)
>

thanks for that post!





More information about the Xcb mailing list