> My solution to this problem was to have my keys that do GotoPage and
> Desk run a function that also calls Next so that the window on that
> page (I typically only have one) gets focus when I enter it. It's
> mildly annoying if there's more than one window on the page and the
> "wrong" one gets selected, but another keystroke on a key bound to
> Next takes care of it. Here's the relevant stuff from my .fvwm2rc:
>
> Style "Fvwm*" CirculateSkip
> Style "XBuffy" CirculateSkip
> Style "*lock" CirculateSkip
> Style "XSession" CirculateSkip
> Style "XConsole" CirculateSkip
>
> 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.
Tudor
--
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 Feb 28 1996 - 13:39:53 GMT