2009/8/16 <[email protected]>: > > Hi.. > > I've written a function to swap the windowson one screen with the > windows on another screen in a xinerama setup. It works, but its not > ideal > > DestroyFunc SwapScreens > AddToFunc SwapScreens > + I All (CurrentPage) MoveToPage 9 0 > + I GotoPage 9 0 > + I All (CurrentPage) PipeRead "$[HOME]/.fvwm/MoveToScreenAndWarp.sh $[w.x]" > + I GotoPage 0 0 > + I All (CurrentPage, AnyScreen) PipeRead > "$[HOME]/.fvwm/MoveToScreenAndWarp.sh $[w.x]" > + I GotoPage 9 0 > + I All (CurrentPage, AnyScreen) MoveToPage 0 0 > + I GotoPage 0 0 > > So I move windows to page (9,0) as a holding place. What I'd like to do > is reference the windows on page 9 0 instead of having to goto that > page. Will reduce flicker of the goto's and make it appear more > seamless. Is this possible with a regular function?
Yes, but you can't do it they way you'd like. I would just mark those windows you're going to put on page 9 0 with a State, then you can do: All (State n) MoveToScreen Read up on the "State" command/style option. > Something like: > > + I All (Page 9 0, AnyScreen) MoveToPage 0 0 No, this isn't possible. -- Thomas Adam
