X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_util.c;h=93e180cae7772a07be55775c83d1d22c47e7c17a;hb=a0057d7a48b90b8f11fc9d5c82b5b8d800c34db5;hp=4ad779a45fd67f3215d75b0174fac6d2cba7a418;hpb=d8de2c7c2a9b8bf59c8f1fcece5faed0b6cbf6f4;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb_util.c b/src/xcb_util.c index 4ad779a..93e180c 100644 --- a/src/xcb_util.c +++ b/src/xcb_util.c @@ -40,6 +40,7 @@ #include "xcb.h" #include "xcbext.h" +#include "xcbint.h" int XCBPopcount(CARD32 mask) { @@ -162,7 +163,7 @@ XCBConnection *XCBConnect(const char *displayname, int *screenp) if(fd == -1) return 0; - XCBGetAuthInfo(fd, &auth); + _xcb_get_auth_info(fd, &auth); c = XCBConnectToFD(fd, &auth); free(auth.name); free(auth.data); @@ -218,3 +219,8 @@ int XCBOpenUnix(const char *file) { return _xcb_open_unix(file); } + +int XCBGetAuthInfo(int fd, XCBAuthInfo *info) +{ + return _xcb_get_auth_info(fd, info); +}