@brief Send a file descriptor to the server in the next call to xcb_send_request.
@param c: The connection to the X server.
@param fd: The file descriptor to send.
After this function returns, the file descriptor given is owned by xcb and
will be closed eventually.
FIXME: How the heck is this supposed to work in a thread-safe way? There is a
race between two threads doing xcb_send_fd(); xcb_send_request(); at the same
time.
@brief Send a file descriptor to the server in the next call to xcb_send_request. @param c: The connection to the X server. @param fd: The file descriptor to send.
After this function returns, the file descriptor given is owned by xcb and will be closed eventually.
FIXME: How the heck is this supposed to work in a thread-safe way? There is a race between two threads doing xcb_send_fd(); xcb_send_request(); at the same time.