ungrbsrvr.m

Jamey Sharp jamey at x8.cs.pdx.edu
Mon Feb 20 10:28:16 PST 2006


Update of /cvs/xtest/xtest/xts5/tset/Xlib10/ungrbsrvr
In directory kemper:/tmp/cvs-serv10462/ungrbsrvr

Modified Files:
	ungrbsrvr.m 
Log Message:
Displays must not be shared across a fork(2), but opendisplay causes XCloseDisplay to be called in the parent at test end.
Just use XOpenDisplay for the connection used in the child.


Index: ungrbsrvr.m
===================================================================
RCS file: /cvs/xtest/xtest/xts5/tset/Xlib10/ungrbsrvr/ungrbsrvr.m,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ungrbsrvr.m	3 Nov 2005 08:42:19 -0000	1.2
+++ ungrbsrvr.m	20 Feb 2006 18:28:14 -0000	1.3
@@ -31,6 +31,10 @@
 >># 
 >># Modifications:
 >># $Log$
+>># Revision 1.3  2006/02/20 18:28:14  jamey
+>># Displays must not be shared across a fork(2), but opendisplay causes XCloseDisplay to be called in the parent at test end.
+>># Just use XOpenDisplay for the connection used in the child.
+>>#
 >># Revision 1.2  2005/11/03 08:42:19  jmichael
 >># clean up all vsw5 paths to use xts5 instead.
 >>#
@@ -134,7 +138,7 @@
 >>CODE
 int 	ret;
 
-	client2 = opendisplay();
+	client2 = XOpenDisplay(config.display);
 
 	win = defwin(Dsp);
 	XSelectInput(display, win, PropertyChangeMask);



More information about the xorg-test-commit mailing list