home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!mouse
- From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
- Subject: Re: How to create a window which stays in front always ?
- Message-ID: <1992Jul30.003049.6704@thunder.mcrcim.mcgill.edu>
- Organization: McGill Research Centre for Intelligent Machines
- References: <1992Jul23.155546.15858@widget!uunet.uu.net>
- Distribution: na
- Date: Thu, 30 Jul 92 00:30:49 GMT
- Lines: 33
-
- In article <1992Jul23.155546.15858@widget!uunet.uu.net>, mahesh@widget.evb.com (B.G. Mahesh) writes:
-
- > I have created a window using XCreateSimpleWindow. I want this
- > window to be in front of all the window at all times. I don't know
- > the exact technical term used for such a thing.
-
- As far as I know there isn't one.
-
- > I dont't want other windows to overlap this window. How do I do this
- > ?
-
- You probably don't really want this, first; for example, it makes it
- very difficult to debug the application. It is also rather antisocial;
- I certainly know any application that started doing that on *my* screen
- would get XKillClient()ed fairly quickly. (Suppose two such
- applications happened to be placed partially overlapping; they will
- flood the whole session arguing with one another over who gets to be on
- top.)
-
- The only sure way is to turn on override-redirect for the window. But
- this means that, in effect, you are temporarily assuming
- window-management duties while your window is up, so you want to do
- this seldom and only for very short periods of time. (Pop-up menus are
- the only really good example of override-redirect windows I've seen.)
-
- Aside from override-redirect windows, it's up to the window manager.
- Depending on your window manager, you may or may not be able to set
- this up.
-
- der Mouse
-
- mouse@larry.mcrcim.mcgill.edu
-