X11R4 Xterm

Steve DeJarnett steve at ibmpa.awdpa.ibm.com
Sun May 5 17:09:28 AEST 1991


In article <15791 at helios.TAMU.EDU> packman at 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 at 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.......



More information about the Comp.unix.aix mailing list