summaryrefslogtreecommitdiff
path: root/src/xcb.h
diff options
context:
space:
mode:
authorIan Osgood <iano@quirkster.com>2006-05-30 11:54:25 -0700
committerIan Osgood <iano@quirkster.com>2006-05-30 11:54:25 -0700
commit829188cdd6274b5b5271dff5612b30c978a61a38 (patch)
treee6229e0ccb1a7f13890d4a31fe118c9475e6eda7 /src/xcb.h
parent936077cbc87addc914d33ab79a7d066f0f51d3ad (diff)
Deprecate XCBSync, move to XCBAuxSync.
Diffstat (limited to 'src/xcb.h')
-rw-r--r--src/xcb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xcb.h b/src/xcb.h
index 8e990fd..c7084ff 100644
--- a/src/xcb.h
+++ b/src/xcb.h
@@ -477,11 +477,11 @@ XCBConnection *XCBConnectToDisplayWithAuthInfo(const char *display, XCBAuthInfo
* @param e: A pointer to an error.
* @return @c 1 on success, @c 0 otherwise.
*
- * Blocks the calling thread for the duration of one round trip to the
- * server, ensuring that all events and errors caused by previous
- * requests are available to XCB.
+ * @deprecated This function is deprecated. It must not be used in
+ * newly written code. XCBFlush is more efficient.
+ * Use XCBAuxSync if absolutely necessary.
*/
-int XCBSync(XCBConnection *c, XCBGenericError **e);
+int XCBSync(XCBConnection *c, XCBGenericError **e) deprecated;
/**