Solution 1:
A simpler style can be used with the following:
Code:
Key Tab A M WindowList Root c c CurrentDesk, NoGeometry
Solution 2:
WC2. Switching focus between windows. (Alt-Tab)
I don't like the default behaviour of FVWM's Alt-Tab key combination -- yes, the WindowList is useful, but it's not what I want to see when I want to focus other windows --- I prefer (dare I say it) functionality similar to MS-Windows. I'd much rather be able to cycle windows. There's some suggestions in the main FVWM FAQ about how to do this, although that still didn't quite emulate what I was after --- indeed, none of the solutions cycled back round to the first window. So, here's my solution to it.
Code:
SetEnv DIR Next
AddToFunc FocusRaiseAndStuff
+ I Iconify off
+ I Focus
+ I Raise
AddToFunc SwitchWindow
+ I $[DIR] (CurrentPage, !Iconic, !Sticky) FocusRaiseAndStuff
+ I Deschedule 134000
+ I PipeRead `[ "$[DIR]" == "Prev" ] && \
echo 'SetEnv NDIR Next' || \
echo 'SetEnv NDIR Prev'`
+ I Schedule 700 134000 SetEnv DIR $[NDIR]
=> the scrolling in the order of creation of the window is not followed, it just follows PREV/NEXT which is messy order
Those 2 solutiosn are not similar to windows.
Help to develop it!