Re: FVWM: Win32-esque alt-tab behavior

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sun, 29 Dec 2002 00:17:09 +0000

On 27 Dec 2002 23:28:24 -0500, Ben Winslow wrote:
>
> On Win32, the alt-tab windowlist is sorted so that the most recently
> focused windows are at the start of the list, e.g.:
>
> Window 1 is focused, hit alt-tab, windows list looks like:
> 1 2 3 4 5
> Select 4
> Window 4 is focused and raised, window list is now:
> 4 1 2 3 5
>
> This is very convenient when you using alt-tab to switch between a
> handful of windows but have several more open. Unfortunately, I haven't
> quite been able to match this behavior in FVWM, so I'm asking for help.
> The closest I've come so far is with this:
>
> Key Tab A M Prev (CurrentPage !Iconic AcceptsFocus) CirculateRaise
> Key Tab A MS Next (CurrentPage !Iconic AcceptsFocus) CirculateRaise
>
> DestroyFunc CirculateRaise
> AddToFunc CirculateRaise "I" FlipFocus
> + "I" Raise
>
> Unfortunately, I can only switch between the 2 most recently focused
> windows this way :)

Short answer, if you use Next/Prev with FlipFocus you will never be
able to switch between more than 2 last windows. Think about this.
You want a way to skip some windows, i.e. advance to them without focusing
and raising them and only focus/raise the last selected window.
This is exactly what WindowList does, so just use it with needed options.

> Any ideas, suggestions, etc. would be great--I'll also try to explain
> again if neccesary--I'm not thinking very coherently right now, and I'm
> not certain how much sense I'm making, but I wanted to send a message
> now before I forget about it.

Maybe you will find the FvwmProxy module (the name will be changed) in
2.5.5 useful to you. But to do what you want you should also use a new
"Key -Meta_L" functionlaty (execute command on key release) and this new
functionality is likely to be removed, since it does not work well.

Regards,
Mikhael.
--
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 Sat Dec 28 2002 - 18:18:34 GMT

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