>>> AddToFunc page-and-warp "I" GotoPage $0 $1
>>> + "I" Next [!iconic CurrentScreen CurrentDesk] Focus
>>> 
>>> AddToFunc desk-and-warp "I" Desk $0 $1
>>> + "I" Next [!iconic CurrentScreen CurrentDesk] Focus
>>> 
>>> The CirculateSkip Styles ensure that only "important" windows get the
>>> focus.
>> 
>> I did precisely the same thing in my .fvwm2rc file.  It is an ugly
>> hack, though, as everything gets crazy when I create more than one 
>> window in a screen.  I think fvwm should restore the focus on the
>> window that previously had it in the screen we are switching to.
> You wanted:
>>> AddToFunc page-and-warp "I" GotoPage $0 $1
>>> + "I" Prev [!iconic CurrentScreen CurrentDesk] Focus
>>> 
>>> AddToFunc desk-and-warp "I" Desk $0 $1
>>> + "I" Prev [!iconic CurrentScreen CurrentDesk] Focus
> I think that works as requested.
It doesn't.  If I have two windows in a Screen, every time I switch to
that screen, the Prev window in that Screen will get the focus.  It is
really annoying.  A somehow better solution is to use this:
AddToFunc GotoPageFocus
+	"I"	GotoPage $0 $1
+	"I"	Next [!iconic CurrentScreen CurrentDesk] Focus
+	"I"	Prev [!iconic CurrentScreen CurrentDesk] Focus
but is is much slower (I have a very old & slow video card) and the
fact that I have to set the focus first on the Prev window and then on
the Next window is visible.  I guess it would be nice to be able to do
something like:
AddToFunc GotoPageFocus
+	"I"	GotoPage $0 $1
+	"I"	Current [!iconic CurrentScreen CurrentDesk] Focus
                ^^^^^^^
Regards,
Tudor
P.S.
With or without this, fvwm is just great :-)
--
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 Thu Feb 29 1996 - 17:15:30 GMT