bruce@servio.UUCP (Bruce Schuchardt) (09/27/89)
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.
converse@EXPO.LCS.MIT.EDU (Donna Converse) (10/02/89)
> 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. Are you setting XtNinput to True on the top level shell of your application? This should be done on any application that expects user input.