Re: FVWM: GotoPage raises?

From: Ben Winslow <rain_at_bluecherry.net>
Date: Tue, 05 Nov 2002 21:35:33 -0500

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



--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Nov 05 2002 - 20:40:16 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST