diff options
author | marha <marha@users.sourceforge.net> | 2012-08-31 15:48:22 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-09-04 14:23:29 +0200 |
commit | 2cc0bed217293f681fcc04b98427078d74bbb79f (patch) | |
tree | 694b4a0d7452c78e1bf86dfe3f5d80dd4d97242c | |
parent | d7fc06ac528d54e0e1416cb8aa89b6fd072400a5 (diff) | |
download | vcxsrv-2cc0bed217293f681fcc04b98427078d74bbb79f.tar.gz vcxsrv-2cc0bed217293f681fcc04b98427078d74bbb79f.tar.bz2 vcxsrv-2cc0bed217293f681fcc04b98427078d74bbb79f.zip |
Synchronised file
-rw-r--r-- | include/xcb/xcb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/xcb/xcb.h b/include/xcb/xcb.h index 1372f4653..4722a270c 100644 --- a/include/xcb/xcb.h +++ b/include/xcb/xcb.h @@ -85,6 +85,9 @@ extern "C" { /** Connection closed, error during parsing display string. */ #define XCB_CONN_CLOSED_PARSE_ERR 5 +/** Connection closed because the server does not have a screen matching the display. */ +#define XCB_CONN_CLOSED_INVALID_SCREEN 6 + #define XCB_TYPE_PAD(T,I) (-(I) & (sizeof(T) > 4 ? 3 : sizeof(T) - 1)) /* Opaque structures */ @@ -424,6 +427,7 @@ int xcb_get_file_descriptor(xcb_connection_t *c); * @return XCB_CONN_CLOSED_MEM_INSUFFICIENT, when memory not available. * @return XCB_CONN_CLOSED_REQ_LEN_EXCEED, exceeding request length that server accepts. * @return XCB_CONN_CLOSED_PARSE_ERR, error during parsing display string. + * @return XCB_CONN_CLOSED_INVALID_SCREEN, because the server does not have a screen matching the display. */ int xcb_connection_has_error(xcb_connection_t *c); |