diff options
author | Keith Packard <keithp@keithp.com> | 2013-01-14 11:23:00 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-07 14:02:35 -0800 |
commit | 7b53fb0f9bddae77b3ab8823743db57faee4e99b (patch) | |
tree | 48cd3517a30bd2905a3a13aae941831e7b36fb1e /src/xcb.h | |
parent | 98c227a2222fb5c7ca7e8101b1ed2bc096a33048 (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 */ |