Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse) Newsgroups: comp.windows.x Subject: Re: Window visibility question Message-ID: <9005030731.AA21997@Larry.McRCIM.McGill.EDU> Date: 3 May 90 07:31:14 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 19 > I'm looking for a way to calculate which portions of a window are > visible and which are obscured. > (3) By setting up for CreateWindow and MapWindow events I could be > notified of all windows which are created, I don't really have any better solution, but I will note that I have a program that (among other things) tracks the position-and-size of those portions of the root window that are visible; this may be of some help, as a starting point if nothing else. If you want a copy, it's available for anonymous ftp from 132.206.1.1, in X/xdrift.c. (It probably won't build as-is; get X/mterm.src/mterm.aux if you want help building it as it stands.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu