[Xcb] xcb_composite_redirect_window NEVER replies

Juan Lao Tebar nitzing at gmail.com
Wed Nov 4 13:50:03 PST 2015


2015-11-04 21:10 GMT+01:00 Peter Harris <pharris at opentext.com>:
> By default, errors for requests without a reply go to the event queue.
> Use xcb_wait_for_event (don't forget to xcb_flush first).
>
> If you want to check for an error inline, use the _checked version of
> the function, and call xcb_request_check instead of xcb_wait_for_reply.
>
> See http://www.x.org/archive/X11R7.7/doc/man/man3/xcb-requests.3.xhtml

Cool, I didn't saw that document until now. It fixes all my doubts!

Thank you very much, Peter, it's nice to have some light on the
subject after lots of tries and reading.

Greetings,
Juan Lao.


More information about the Xcb mailing list