Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!alfalfa.com!nazgul From: nazgul@alfalfa.com (Information Junkie) Newsgroups: comp.windows.x.motif Subject: Re: DialogShell & autoUnmanage Message-ID: <910514163957.184@sun.alfalfa.com> Date: 14 May 91 20:39:57 GMT References: <9105141721.AA17415@alex.CSS.GOV> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 21 > >All is fine until the main window is iconified. The dialog iconfies > >also, and does my loop exits prematurely. What additional test can I > >add? > > How about checking to see if the dialog is mapped? This all strikes me as rather hacky (particularly when you consider that not all window managers will unmap/manage the dialog). I would just put in callbacks to set a global which you then check in your loop. Better yet, I wouldn't have a loop - I'd just return to the main event loop and do everything asynch. -kee Alfalfa Software, Inc. | Poste: The EMail for Unix nazgul@alfalfa.com | Send Anything... Anywhere 617/646-7703 (voice/fax) | info@alfalfa.com I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.