[comp.unix.aix] X11R4 Xterm

packman@tamuts.tamu.edu (Wally Strzelec) (05/05/91)

Howdy.... I just put up the X11R4 clients and am very happy with the
way the R4 xterm works over IBM's aixterm (Thank you Mr. Greening).  I
am still having one problem thou.  When I move the mouse out of the
window I loose the focus for that window.  Can someone tell me
where/how I can control the focus for the windows.  I would really
like it if the window focus for mwm was treated like twm treats them,
I don't like having to click on the window to use it.

Is twm working anywhere.... If so where can I get a copy of the
source/patch?

	Wally Strzelec
	Texas A&M University
	Unix System Administrator
	packman@tamuts.tamu.edu

These are my own opinions and do not necessarily reflect those of
Texas A&M University or any living person.

steve@ibmpa.awdpa.ibm.com (Steve DeJarnett) (05/05/91)

In article <15791@helios.TAMU.EDU> packman@tamuts.tamu.edu (Wally Strzelec) writes:
>When I move the mouse out of the
>window I loose the focus for that window.  Can someone tell me
>where/how I can control the focus for the windows.  I would really
>like it if the window focus for mwm was treated like twm treats them,
>I don't like having to click on the window to use it.

	Well, I'm a little confused about which behavior you prefer here, so
here's how you get either one.  To make keyboard focus follow the mouse, add 
this line to your .Xdefaults (this presumes you're using mwm, but you refer to
it above so I'll assume that's what you want):

	Mwm*keyboardFocusPolicy:	pointer

If you want input focus to remain with a window even after you've moved the
cursor out of that window (i.e. if you want focus changes to occur only after
explicitly clicking in a window) add the following to your .Xdefaults:

	Mwm*keyboardFocusPolicy:	explicit

Hope that helps.

Steve DeJarnett			Internet: steve@ibmpa.awdpa.ibm.com
IBM PSP Palo Alto		UUCP:	  uunet!ibmpa.awdpa.ibm.com!steve
(415) 855-3510			IBM VNET: dejarnet at ausvmq
These opinions are my own.  I doubt IBM wants them.......

rel@mtu.edu (Robert Landsparger) (05/06/91)

In article <15791@helios.TAMU.EDU>, packman@tamuts.tamu.edu (Wally Strzelec) writes:
|> 
|> Howdy.... I just put up the X11R4 clients and am very happy with the
|> way the R4 xterm works over IBM's aixterm (Thank you Mr. Greening).  I
|> am still having one problem thou.  When I move the mouse out of the
|> window I loose the focus for that window.  Can someone tell me
|> where/how I can control the focus for the windows.  I would really
|> like it if the window focus for mwm was treated like twm treats them,
|> I don't like having to click on the window to use it.

In your .Xdefaults file (assuming that is the name that you use)
add the line:

*keyboardFocusPolicy:	pointer

This will cause the focus to follow the pointer in mwm.


|> Is twm working anywhere.... If so where can I get a copy of the
|> source/patch?

Currently I am running tvtwm, but have twm working.  Send mail to me and
I'll forward it to the person who installed X on our IBM RISC/6000.

						Bob

--

USER:		Can I get a list of *all* the unix commands?
CONSULTANT:	man -k - | lpr -
USER:		huh?

+-------------------------------------------------------------------------+
| Robert E. Landsparger (rel@mtu.edu) - Computing Technology Services
| Michigan Technological University, Houghton, MI 49931	(906) 487-2110
+--------------------------------------------------------------------+
| The above comments do not always represent those of my employer.
+