[comp.windows.x] X11R3 MIT sample server: 3 screens max?

mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse) (12/16/89)

I was fiddling with the server code, trying to juggle things to give X
color *and* monochrome capabilities on a Sun with a cg2.  Everything
works fine (though it takes a little ugly code, knowing the types of
two opaque pointers) for color and up to two monochrome screens.  As
soon as I try for a third monochrome screen, I get a coredump from some
unrelated piece of code, and adb gives indications that the stack is
trashed.  (Actually, I initially tried for 8 monochrome screens, but
when that didn't work I did some experimentation.)

Yes, I increased MAXSCREENS from 3 (to 10) in server/include/misc.h.
And rebuilt everything (find . -name \*.o -print | xargs rm).

If this isn't something simple like "there's this array in foo.c that
assumes no more than three screens", don't bother; I'll just wait for
R4 and mess with that instead.  But if it is something that simple,
it'd be nice to make it work properly now.  (Of course, if the same
thing happens in R4, you'll be hearing from me again :-)

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu