Path: utzoo!attcan!uunet!lll-winken!ames!hc!pprg.unm.edu!unmvax!tut.cis.ohio-state.edu!bloom-beacon!ROVER.UMD.EDU!jonnyg From: jonnyg@ROVER.UMD.EDU (Jon Greenblatt) Newsgroups: comp.windows.x Subject: Re: How to make XClearRegion? Message-ID: <8902031624.AA07392@rover.UMD.EDU> Date: 3 Feb 89 16:24:17 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 10 Try setting the clip region for a graphics context to the region you want to clear then fill the entire window with the background pixel/pixmap as defined in the window attributes using this graphics context. This is not straight forward but it works, and once done can be use in any program. I do something similar to this when I collect expose events durring graphic animations. I would post the code but it does not do exactly what you want. JonnyG.