128 window limit

Jay Cotton Jay.Cotton at Sun.COM
Fri Jun 3 09:54:38 PDT 2005

Paul Collins wrote:
> On 2005Jun03 09h06 IST, Brad Best wrote:
>>I've been trying for some time to find out how to change the max. number of
>>open windows in an X session, to no avail.
>>I have multiple 9-head workstations (with ATI Radeon 7000 PCI cards) set up
>>with Xinerama (which by the way works beautifully), but would like to be
>>to open more than 128 windows/programs (with all that room, it doesn't take
>>long to hit the limit).  I've looked through the config
>>files and some of the source code and also searched mailing lists etc., but
>>I can't seem to find any information?  Am I missing something
>>obvious/trivial, or is this not possible, or...?
> You may be able to increase the MAX_CLIENTS define.  I think there was
> some discussion about this and potential pitfalls on the list some time
> ago, although I cannot find the relevant messages now.
Sun made a modification to MAX_CLIENTS, up'd it to 1024.  There are problems
with the protocol, we had to shave some bits off a few masks to get space.

Not lovely code, but it does work.  I don't thinks its currently public
code, but if there is demand, I suppose we could make it public.

	 Jay Cotton 		     Jay.Cotton at sun.com
	 MPK17-2348    x80841
	 Sun Microsystems Inc. - X11 Server Group
	 Operating Platform Group
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

More information about the xorg mailing list