[comp.windows.x] Bug in xchomp

doyle@b11.ingr.com (Doyle Davidson) (10/18/89)

I have find a bug in xchomp:  Display: All Intergraph Workstations

The list of rectangles used in the call to XSetClipRectangles()
intersect themselves.  The protocal says that the results are
undefined when this occurs.  Yep! they sure were.  The clipping
code on the machines that I ran xchomp on did region ops on
the region created from the rectangles and things went haywire
due to the intersections.
    see miRectsToRegion() for starters.

No flames are intended at the author of xchomp (which appears
to be a good implementation of the game - which I only use to
test the server :-) but I would like to point out this error 
to him and anyone else that might see it.

Yeh, I know, fix the server... but I like it when its not my fault.

Doyle

--------------------------------
Doyle C. Davidson              |
Intergraph Corp.               |
Workstation Graphics Standards |
1 Madison Industrial Park      |
Huntsville, AL 35806           |
(205) 772-2000                 |
                               |
..!uunet!ingr!b11!doyled!doyle |
--------------------------------