Ben Sinclair <ben_at_llamacom.com> wrote:
>
> 
> I'm having a little problem with a Windows alt-tab style window focus
> flipper. I want it to skip certain things. In this setup, it skips
> Gaim and the panel, but it doesn't skip XMMS.
> Next [CurrentPage !Iconic !Sticky !Gaim !XFCe*Panel !xmms] RaiseNFocus
In my opinion it's better to do this sort of thing using the
"CirculateSkip" style.  windows marked with this style won't show up as
the target of a "Next" or "Prev" command, so those commands are more
suitable for focus-flipping.  Here's how I do it in my config:
    Style "Netscape"	CirculateSkip,NoPPosition
    Style "xmmix"	CirculateSkip,NoPPosition
    Style "r?player"	CirculateSkip
    Style "xawtv"	CirculateSkip
    Style "XMcd"	CirculateSkip
    Style "kxicq"	CirculateSkip,Sticky
    Style "mxaudio"	CirculateSkip
    Style "xconsole"    CirculateSkip,WindowListSkip
    Style "vrc"		CirculateSkip,Sticky
    Style "kradio"	CirculateSkip,Sticky
    Style "xplaycd"	CirculateSkip,Sticky
    Style "phone"	CirculateSkip,Sticky,NoHandles
    Style "xpostit"	CirculateSkip,Sticky,NoHandles,NoTitle,WindowListSkip,BorderWidth 0
    Style "oclock"	CirculateSkip,Sticky,NoHandles,NoTitle,WindowListSkip,BorderWidth 0
    Style "PostItNote"	CirculateSkip,Sticky,WindowListSkip
These are all the window types I want to avoid focusing on.  Then, my
Alt-Tab binding is a simple function:
    Key Tab	A	M	Function NextWindow
    Key Tab	A	SM	Function PrevWindow
    AddToFunc NextWindow	"I" Next (!Iconic CurrentDesk) Focus
    +				"I" Current Raise
    AddToFunc PrevWindow	"I" Prev (!Iconic CurrentDesk) Focus
    +				"I" Current Raise
Whatcha think?
-- 
   fox_at_foxtaur.com (Fuzzy Fox)     || "Good judgment comes from experience.
sometimes known as David DeSimone  ||  Experience comes from bad judgment."
  http://www.dallas.net/~fox/      ||                 -- Life Lessons
--
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 Tue Feb 22 2000 - 13:06:50 GMT