Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU (Donna Converse) Newsgroups: comp.windows.x Subject: Re: Maximum number of XOpenDisplay() allowed by a client. Message-ID: <9002230051.AA13764@expo.lcs.mit.edu> Date: 23 Feb 90 00:51:50 GMT References: <3002@soleil.oakhill.UUCP> Sender: daemon@athena.mit.edu (Mr Background) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 23 > Is there any limitations on the number > of displays a client can open at one time? What happens when you run this? #include #include main() { int i; Display* dpy; i = 0; dpy = XOpenDisplay(NULL); while (dpy != NULL) { fprintf(stderr, "%i\n", i++); fflush(stderr); dpy = XOpenDisplay(NULL); } exit(0); }