home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
- From: mahan@TGV.COM (Patrick L. Mahan)
- Subject: RE: How do I keep a window at the top level period?
- Message-ID: <920908095835.2900012b@TGV.COM>
- Sender: daemon@athena.mit.edu (Mr Background)
- Organization: The Internet
- Date: Tue, 8 Sep 1992 16:58:35 GMT
- Lines: 42
-
- #
- #I am using the mwm window manager. How can I get a particluar window, in this
- #case xeyes to always be the top level window, ie never buried?
- #
- #I am using the following in my Mwm file:
- #
- ## Set to Explicit to determine focus by clicking on the window or border
- ## Set to Pointer to determine focus based on the location of the pointer
- #Mwm*keyboardFocusPolicy: Pointer
- #
- ## Policy when the window with focus is minimized or removed
- ## if focuspolicy is explicit, set to true to give focus to
- ## the window with previous focus
- #Mwm*autoKeyFocus: True
- #
- ## if focuspolicy is explicit, set to true to give a window focus
- ## when it is restored from an icon
- #Mwm*deiconifyKeyFocus: True
- #
- ## Set to True to raise a window when it is given focus
- ## Set to False to keep the stacking order the same when a window is given focus
- #Mwm*focusAutoRaise: True
- #
- ## if focuspolicy is explicit,
- ## set to true to give input focus to a window when it is mapped
- #Mwm*startupKeyfocus: True
- #
-
-
- Well that all helps. However, to keep Xeyes on top of the window stack will
- require you to modify the xeyes code. What is needed, it a event handler,
- watching for CirculateNotify events. At which, the event handler then forces
- the application to the top again. All of the above resources will only work
- once xeyes has focus, not when some other window has focus.
-
- Patrick L. Mahan
-
- --- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
-
- Waking a person unnecessarily should not be considered - Lazarus Long
- a capital crime. For a first offense, that is From the Notebooks of
- Lazarus Long
-