|Scripts quick access edit this|
Each viewport remembers, after switching the viewport, its previously focused window and pointer position, and restores them when the viewport is changed.
If you switch viewports with keyboard, then this is for you.
Workspace is not supported.
An exception is sticky window; if it is focused before switching the viewport, then it keeps focus after switch, too. This enables to 'carry' windows over viewports.
Save the file in
~/.sawfish/lisp/sawfish/wm/ext/vpf.jl, and in
Then assign keys to change viewport commands. I use Shift + arrow keys. Available commands are vpf-right, vpf-left, vpf-up and vpf-down.