summaryrefslogtreecommitdiff
path: root/src/xcb.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-01-14 11:23:00 -0800
committerKeith Packard <keithp@keithp.com>2013-11-07 13:32:20 -0800
commitaa6ac19ff407834f0a57fca501602273ced2f714 (patch)
tree627e8a0c5d6ceffb05d1400e3d194044e5257790 /src/xcb.h
parent9aa5b192ba7d4544c9dcf6d7687aa4730b7b9c2e (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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xcb.h b/src/xcb.h
index e782d44..fe64851 100644
--- a/src/xcb.h
+++ b/src/xcb.h
@@ -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 */