Brady> If you use the FvwmWinListAction option to bind WarpToWindow to
Brady> a click event, that'll probably work.
Chuck> Actually, better would be to use something like the following
Chuck> function:
Chuck> AddToFunc FocusAndWarp "I" Focus
Chuck> + "I" WarpToWindow 2p 2p
Chuck> and bind that to the click event (because WarpToWindow won't
Chuck> actually change the focus on it's own in click to focus mode).
I prefer the following:
AddToFunc myfocus "I" $2
+ "I" WarpToWindow $0 $1
+ "I" Focus
I'm not sure if it matters what order one calls Focus and
WarpToWindow.
Typically I call it as
myfocus 50 50 Nop
which warps to the window and focuses. However, I found that if the
window was iconified, WarpToWindow didn't automagically deiconfy it.
So I added the third argument so that from the FvwmIconMan actions, I
can specify
myfocus 50 50 "Iconify -1"
which does what I want.
--
Dave Goldberg
Post: The Mitre Corporation\MS B305\202 Burlington Rd.\Bedford, MA 01730
Phone: 617-271-3887
Email: dsg_at_mitre.org
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Jul 17 1996 - 13:41:14 BST