[comp.windows.x] Clip rectangles

PAYNE@latlog.UUCP (02/08/88)

What is the correct way to negate the effect of setting clip rectangles in
a GC using XSetClipRectangles, i.e. how do you go back to no clipping?
I tried setting clip_mask to None using XChangeGC (as implied by the
documentation) but this seemed to supress all output!

Thanks, Julian Payne.
European Silicon Structures (ES2).
(payne@latlog.uucp)

RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (02/12/88)

    Date: Mon, 8 Feb 88 13:45:38 GMT
    From: mcvax!latlog!PAYNE@uunet.UU.NET

    What is the correct way to negate the effect of setting clip rectangles in
    a GC using XSetClipRectangles, i.e. how do you go back to no clipping?
    I tried setting clip_mask to None using XChangeGC (as implied by the
    documentation) but this seemed to supress all output!

Setting to None is correct, and works for me.  Of course, you didn't say
which system you were running on, etc.  If you think there's a bug, send
a bug report (and a small sample program) to xbugs@athena.mit.edu.