Window focus on desk/page change?

I found an old topic using State and ClickToFocus, Always focusing a window on the current page. Later today I will check.

Last step, is to bind the function.

@noguardkenny: If you use the edge scroll supported by FVWM, add this function to EdgeLeaveCommand for every direction.

This is my current edge scroll, how to bind function SwitchPage ?

EdgeScroll 0 0
EdgeResistance 450
EdgeThickness 1
Style * EdgeMoveDelay 500, EdgeMoveResistance 100

ManPage: *The binding works only if EdgeThickness is set to a value greater than 0.