Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!eng.sun.COM!dshr From: dshr@eng.sun.COM (David Rosenthal) Newsgroups: comp.windows.x Subject: Re: Finding out if you're Iconified Message-ID: <9009192033.AA13641@devnull.Eng.Sun.COM> Date: 19 Sep 90 20:25:33 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 14 > I need to find out if my application is iconified (either by > the user or automatically by another program), or actually > being displayed on the screen. RTFM. In this case, section 4.1.4 of the ICCCM is the FM to R. Pages 519 to 521 of the Digital Press 2nd edition. In fact, what you want has nothing to do with being iconified. You want to know if the window is worth going to the expense of updating. It isn't worth doing so if the window is in normal state but buried under other windows so as to be invisible. See the last paragraph of section 4.1.4 about VisibilityNotify. David.