grbsrvr.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/grbsrvr
In directory kemper:/tmp/cvs-serv10462/grbsrvr

Modified Files:
	grbsrvr.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: grbsrvr.m
===================================================================
RCS file: /cvs/xtest/xtest/xts5/tset/Xlib10/grbsrvr/grbsrvr.m,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- grbsrvr.m	3 Nov 2005 08:42:17 -0000	1.2
+++ grbsrvr.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:17  jmichael
 >># clean up all vsw5 paths to use xts5 instead.
 >>#
@@ -136,7 +140,7 @@
 >>CODE
 
 	client1 = opendisplay();
-	client2 = opendisplay();
+	client2 = XOpenDisplay(config.display);
 
 	win = defwin(Dsp);
 	XSelectInput(client1, win, PropertyChangeMask);



More information about the xorg-test-commit mailing list