[comp.windows.x] Need help with "olwm"

marbru@attc.UUCP (Martin Brunecky) (03/09/91)

I am having several problems with the "olwm" window manager shipped with
Sun Microsystems OPEN WINDOWS version 2.0. If anybody can help/direct me
or suggest solutions, please reply to marbru@auto-trol.com.

My application is Xt based, using Motif 1.0 "flavor" of R3+ Xt, it has
multiple application and toplevel shells, and most of my problems are
shell-related:

1) When the application issues an XtPopdown of an application shell that
   has been iconized by the user, there remains  a "phantom icon" on the
   screen. How do I get rid of it ???


2) Sometimes (rarely, but often enough to be unacceptable), an XtPopup of
   the toplevel shell reults in the shell popping-up, but then disappearing
   from the screen. As far as I can detect, the shell window has been
   mapped and not unmapped (but may be it's parent was).... ????


3) Most often XtSetValues giving x,y for the shell results in proper shell
   positioning. However, sometimes, when multiple shells ( >5 ) from a single
   application are positioned that way, the "olwm" decides to position
   those diagonally over the screen. This behavior us totaly unpredictable.
   (I can live with it if I can predict it)   ????

4) I can't get keyboard focus to an Override Shell. Looking through the 
   OW documentation, this *seems* to be an intention in "olwm" - keyboard
   input to a popped-up override shell is redirected to the root window
   and olwm "beeps" on any keystroke.
   What is the *correct* and *complete* way to get keyboard focus to the
   popped-up OverrideShell under olwm (assuming pointer is inside that
   shell and the real-estate driven focus model) ?

I know there is one simple fix to all the problems above: use "mwm". But
I don't want to force the user into any particular WM (in fact, I'd like
to "support" as many as possible).


-- 
=*= Opinions presented here are solely of my own and not those of Auto-trol =*=
Martin Brunecky                           {...}sunpeaks!auto-trol!marbru
(303) 252-2499                        (sometimes also:  marbru@auto-trol.COM )
Auto-trol Technology Corp. 12500 North Washington St., Denver, CO 80241-2404