Hi!

In XCB, is there a way to check if a reply for a reply cookie is
available, without blocking? I.e.


    xcb_get_geometry_cookie_t  cookie = xcb_get_geometry(conn, win);
    ...
    xcb_generic_event_t *event;
    while (1) {
      geom  = xcb_get_geometry_reply (conn, cookie, NULL); // This
blocks, need to use a non-blocking check
      event = xcb_poll_for_event(conn);
      if (event) {
        ...
      }

Even better if you could check a set of cookies in one go...

Thanks in advance,

Egil

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to