[comp.windows.x.motif] HELP: Automatic Keyboard Focus

dare@bcsfse.boeing.com (Larry Dare) (08/15/90)

Currently in my .Xdefaults file I have
Mwm*keyboardFocusPolicy:		pointer 
Mwm*focusAutoRaise:			true

What I would like to have happen is when I deiconify a window, that
window will receive the keyboard input focus.

I believe to do this is one of two ways:

1. Set Mwm*keyboardFocusPolicy to explicit  - the problem I have with
this is that I have to <select> the icon, which to me is more
cumbersome than having to move the mouse cursor over to the
appropriate window.

2. Have some way of "warping" the mouse cursor over to the deiconified
window inot focus.

Any Ideas will be greatly appreciated .  Thanks


 Larry S. Dare                                               Ph: (206) 234-0940
 !uunet!bcstec!bcsfse!dare                                   FAX (206) 234-1416

yee@osf.org (Michael K. Yee) (08/21/90)

In article <507@bcsfse.UUCP> dare@bcsfse.boeing.com (Larry Dare) writes:
>   What I would like to have happen is when I deiconify a window, that
>   window will receive the keyboard input focus.
>
>   1. Set Mwm*keyboardFocusPolicy to explicit  - the problem I have with
>   this is that I have to <select> the icon, which to me is more
>   cumbersome than having to move the mouse cursor over to the
>   appropriate window.
>
	I do not see what is cumbersome with "selecting" an icon to
	deiconify a window in explicit mode as opposed to select the icon
	in pointer mode before deiconify.

>    ...
>    Larry S. Dare                                               Ph: (206) 234-0940
>    !uunet!bcstec!bcsfse!dare                                   FAX (206) 234-1416
>
	=Mike

--
= Michael K. Yee =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
= OPEN Software Foundation -- 11 Cambridge Center -- Cambridge, MA 02142
= Phone: 617-621-8831      Email: yee@osf.org, uunet!osf.org!yee
= "I can't give you brains, but I can give you a diploma." -- The Wizard of OZ