X11/src/xcl display.c,1.7,1.8

Jamey Sharp xlibs-commit at pdx.freedesktop.org
Mon Aug 2 08:03:48 PDT 2004


Committed by: jamey

Update of /cvs/xlibs/X11/src/xcl
In directory pdx:/tmp/cvs-serv21788/src/xcl

Modified Files:
	display.c 
Log Message:
2004-08-02  Jamey Sharp  <jamey at minilop.net>

	* src/xcl/display.c:
	Update for XCB API as of 2004-07-25.


Index: display.c
===================================================================
RCS file: /cvs/xlibs/X11/src/xcl/display.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- display.c	3 Jul 2004 09:45:25 -0000	1.7
+++ display.c	2 Aug 2004 15:03:46 -0000	1.8
@@ -116,7 +116,7 @@
 	_XUnlockMutex(_Xglobal_lock);
 
 	if(!use_global)
-		XCBGetAuthInfo(dpy->fd, XCBNextNonce(), &auth);
+		XCBGetAuthInfo(dpy->fd, &auth);
 	c = XCBConnect(dpy->fd, &auth);
 	if(!use_global)
 	{
@@ -207,7 +207,7 @@
 static int init_screens(Display *dpy, XCBConnection *c)
 {
 	Screen *spdst;
-	XCBSCREENIter spsrc = XCBConnSetupSuccessRepRoots(XCBGetSetup(c));
+	XCBSCREENIter spsrc = XCBConnSetupSuccessRepRootsIter(XCBGetSetup(c));
 
 	dpy->nscreens = spsrc.rem;
 
@@ -237,7 +237,7 @@
 		spdst->ndepths		= spsrc.data->allowed_depths_len;
 		spdst->ext_data		= NULL;
 
-		if(!init_depths(XCBSCREENAllowedDepths(spsrc.data), &spdst->depths, spsrc.data->root_depth))
+		if(!init_depths(XCBSCREENAllowedDepthsIter(spsrc.data), &spdst->depths, spsrc.data->root_depth))
 			return 0;
 
 		spdst->root_visual = _XVIDtoVisual(dpy, spsrc.data->root_visual.id);



More information about the xlibs-commit mailing list