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?

Something like:

+ I All (Page 9 0, AnyScreen) MoveToPage 0 0

Note, the function has other issues but works in my setupwhere I only
ever use page 0, 0.  The .sh script is just a quick script to determine
the number of the other screen.

Thanks.


Reply via email to