home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!usc!elroy.jpl.nasa.gov!mahendo!thyme!kaleb
- From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley)
- Subject: Re: Making a window stay on top
- Message-ID: <1992Aug12.154203.19566@thyme.jpl.nasa.gov>
- Organization: Jet Propulsion Laboratory, Pasadena, CA
- References: <11AUG199216011614@cvdv73>
- Date: Wed, 12 Aug 92 15:42:03 GMT
- Lines: 23
-
- In article <11AUG199216011614@cvdv73> fisk@mayo.edu writes:
- >How do I specify that a window always stay on top of the stack, even if the
- >input focus changes to another window? I am using Motif 1.1 on VMS, but will
- >be porting the application to an RS/6000 running Motif 1.1 also. This would
- >be X11R4. If you need more information to answer this question sufficiently
- >please let me know! E-mail repsonses appreciated, but postings are accepted.
-
- *Always* stay on top is, strictly speaking, not possible. For the most
- part, you can add a translation/action or add an event handler to receive
- VisibilityNotify events when the client is partially or fully obscured,
- and then XRaiseWindow(...) to unobscure the window.
-
- This simplistic strategy fails when you move the window partially off the
- screen, leaving it "partially obscured", but not "covered", per se. Once
- partially obscured, further activities that obscure the window a little more
- do not result in additional VisibilityNotify events being delivered to the
- client.
-
- --
-
- Kaleb Keithley kaleb@thyme.jpl.nasa.gov
-
- Not authorized, in any way, shape, or form, to speak for anyone.
-