On Tue, May 11, 2010 at 04:30:51PM -0400, Nathan H?sken wrote: > Hi, > > I have a dual screen fvwm setup (xinerama). With Alt-Tab I switch > between windows in the current screen. Which function do I have to bind > to a keyboard shortcut to switch the screen (focus a window on the other > screen)?
Any function you like: DestroyFunc foo AddToFunc foo + I Next ($0, !CurrentScreen, CirculateHit, AcceptsFocus) Focus Then you can bind it as: Key a A M foo XTerm Key b A M foo ELinks Key c A M foo XTeddy Where, in this example "XTerm", "ELinks and "Xteddy" are examples of programs you wish to focus which aren't on the current screen. Of course, change the command "Focus" to anything you like, even another function which perhaps does: DestroyFunc FocusWindow AddToFunc FocusWindow + I Focus + I WarpToWindow 5p 5p ... etc, etc. -- Thomas Adam -- "It was the cruelest game I've ever played and it's played inside my head." -- "Hush The Warmth", Gorky's Zygotic Mynci.
