Peter McAlpine wrote:
Hi,

I've been looking through the manpage for a half hour, and I can't
figure out how to get a window raised automatically when I use
"GotoPage".

Any help is appreciated,
Peter

Your best bet would probably be something like:


Key     Right   A       3       GotoPageRaise +1p 0p

DestroyFunc GotoPageRaise
AddToFunc GotoPageRaise
+ "I" GotoPage $*
+ "I" Next (CurrentPage !Iconic AcceptsFocus) Raise


I was trying to have together something to memorize the last focused window on a page and switch back to it whenever that page is reactivated, but I've given up for the moment--fvwm can't double-expand $ variables and launching an external program for every page switch seems to be a bit excessive to me. There might be a way to do it all internally, but I haven't figured out what that is yet.

--
Ben

Attachment: pgpbQEdRDynP4.pgp
Description: PGP signature

Reply via email to