Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!zephyr.ens.tek.com!tektronix!psueea!parsely!bucket!servio!bruce
From: bruce@servio.UUCP (Bruce Schuchardt)
Newsgroups: comp.windows.x
Subject: dxwm focus handling
Message-ID: <259@servio.UUCP>
Date: 26 Sep 89 18:37:36 GMT
Reply-To: bruce@servio.UUCP (Bruce Schuchardt)
Distribution: usa
Organization: Servio Logic Development Corp.; Beaverton, OR
Lines: 18

I am a new X-windows programmer and am trying to build/use applications
on a DECstation 3100 under DEC's window manager, dxwm.  I'm having a
hard time getting dxwm to give keyboard focus to applications that weren't
built with DEC's Dwt libraries.  Digital-supplied applications like
xedit and xterm, that are built with the Athena widget set, work fine,
but my own and other apps just don't get the keyboard focus.

If I kill off dxwm and use uwm instead, everything works OK.  Under
dxwm, I can use the mouse with my applications, but whenever I type
anything, the keyboard events go to one of Digital's apps.  The
banner that dxwm puts on shell windows never changes state - it always
looks inactive.  With Xw-based applications, the banner of the DEC 
window having focus flashes sometimes when I move the cursor around in
my apps.

What am I missing?  Is there some .Xdefault I can set to tell dxwm
to give these apps the focus? If there is some FM that I should read,
_please_ point me to it.