🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #36712

Re: InputOnly Curiosity

#36712
From: Stuart W. Marks
Date: Mon, 12 Feb 1990 19:47
28 lines
1523 bytes
| Once upon a time, I had a window that I didn't want the window
| manager to iconify.  To prevent an icon from ever appearing on the 
| screen, I used an input-only window as the icon-window hint, so
| that when the icon window was mapped, you wouldn't see it on the screen.
| 
| That's probably no longer the right thing to do. 
| (Not that it ever was, but it worked...)
| 
|    Don Bennett           (408)433-3311
|    dpb@frame.com
|    Frame Technology

You're right, this is absolutely the wrong thing to do!  Not only is it
unlikely to work with many window managers, it's also illegal.  Section
4.1.9 of the ICCCM, "Icons," says:

    Convention: The icon window should be an InputOutput child of the root.

In general, there's no way to prevent the window manager from giving one
of your windows an icon.  That's up to the window manager.  However,
setting the WM_TRANSIENT_FOR hint might do what you want.

s'marks

Stuart W. Marks			ARPA: smarks@eng.sun.com
Window Systems Group		UUCP: sun!smarks
Sun Microsystems, Inc.
Technical Details
Message-ID: <9002121947.AA25642@trantor.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eng.sun.COM!smarks
References: <9002100226.AA07242@viking.>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eng.sun.COM!smarks
From: smarks@eng.sun.COM (Stuart W. Marks)
Newsgroups: comp.windows.x
Subject: Re: InputOnly Curiosity
Message-ID: <9002121947.AA25642@trantor.Eng.Sun.COM>
Date: 12 Feb 90 19:47:29 GMT
References: <9002100226.AA07242@viking.>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Lines: 28