diff options
author | Keith Packard <keithp@keithp.com> | 2013-01-14 11:23:00 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-07 13:32:20 -0800 |
commit | aa6ac19ff407834f0a57fca501602273ced2f714 (patch) | |
tree | 627e8a0c5d6ceffb05d1400e3d194044e5257790 /src/xcb.h | |
parent | 9aa5b192ba7d4544c9dcf6d7687aa4730b7b9c2e (diff) |
Add xcb_send_fd API
This uses sendmsg to transmit file descriptors from the application to
the X server
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-By: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/xcb.h')
-rw-r--r-- | src/xcb.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -87,6 +87,9 @@ extern "C" { /** Connection closed because the server does not have a screen matching the display. */ #define XCB_CONN_CLOSED_INVALID_SCREEN 6 +/** Connection closed because some FD passing operation failed */ +#define XCB_CONN_CLOSED_FDPASSING_FAILED 7 + #define XCB_TYPE_PAD(T,I) (-(I) & (sizeof(T) > 4 ? 3 : sizeof(T) - 1)) /* Opaque structures */ |