On 26 Jul 2002 16:15:09 -0400, Sergey Babkin wrote: > > It's a Windows-like implementation of Alt-Tab: when pressing Alt-Tab > once at a time, the focus will alternate between two windows, when > pressing Alt-Tab multiple times the focus will switch sequentially > between windows. The implementation is: > > AddToFunc SetFocus > + I WindowId $0 Focus > + I FlipFocus > + I WindowList Root c c NoGeometry SelectOnRelease Alt_L CurrentDesk > > AddToFunc PrevNext > + I Next (CurrentDesk AcceptsFocus) Function SetFocus $w > > AddToFunc TabForward > + I Prev (CurrentDesk AcceptsFocus) Function PrevNext > > Key Tab A M Function TabForward
The problem with this is that it can't be canceled by pressed Esc to return to the window that was focused at the time of Alt-Tab. Anyway, in 2.5.2 (and partially in 2.4.8, remove IconifiedAtEnd) the following emulates the Windows behaviour better if anyone likes it: Key Tab A M WindowList Root c c CurrentDesk, NoGeometry, CurrentAtEnd, IconifiedAtEnd Regards, Mikhael. -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]