bpistr@cgch.UUCP (11/15/89)
I have an application with several popup shells, (up to 3 at once) up on the screen. When I Iconify the application, the popup shells stay on the screen as well as the icon. I understand completely why this happens. What I want to know is... What is the 'correct' programming technique to overcome this problem? (ie. I want the popups to go away on an iconfiy, and come back when the de-iconify happens) -jcp- ====================================================================== Joseph C. Pistritto 'Think of it as Evolution in Action' Ciba Geigy AG, R1241.1.01, Postfach CH4002 Basel, Switzerland Internet: bpistr@cgch.uucp Phone: (+41) 61 697 6155 Bitnet: bpistr%cgch.uucp@cernvax.bitnet Fax: (+41) 61 697 2435
swick@ATHENA.MIT.EDU (Ralph R. Swick) (11/15/89)
> I understand completely why this happens. > What I want to know is... What is the 'correct' > programming technique to overcome this problem? > (ie. I want the popups to go away on an iconfiy, > and come back when the de-iconify happens) I'd recommend that you set the WM_TRANSIENT_FOR hint and strongly lobby the window manager developers for a standard interpretation of this hint along the lines you've sketched. Until there is a standard interpretation, you've no choice but to manually unmap the popups when you notice that your main window has been unmapped. Or only claim to run under window managers that interpret WM_TRANSIENT_FOR the way you need.