“Dynamic viewport” is enabled by setting
viewport-boundary-mode to the symbol
dynamic. It has
Normally, the viewport cannot move beyond the limits set by
viewport-dimensions, but this limitation is removed in dynamic
viewport. The viewport is allowed to go as far as you wish.
In addition, workspace is automatically resized, both enlarged and shrinked, so that it contains the current viewport and all windows. (Precisely speaking, it takes the minimum such size.) The size is set when you move the viewport, and also at Sawfish startup. Each workspace has its own size independent of the others.
Even in dynamic viewport, the top-left cell is always
and the cell indices are never negative.
The dynamic viewport is still an experimental feature, and its specification may change.
This is only useful if dynamic viewport is enabled.
viewport-dimensions will never be set to less than
viewport-minimum-dimensions, unless it is a change requested by
the user, either by using the configuration interface or by calling
viewport-minimum-dimensions by hand (not by the
customization interface) be sure to call
viewport-minimum-size-changed after doing so to ensure that the
new minimum dimensions immediately go into effect.
set-number-of-viewports is called to set the viewport
viewport-minimum-dimensions will be set to the same
value. Also, if (using the configuration interface) you set the
viewport dimensions to less than
viewport-minimum-dimensions will be adjusted to match. This way
those who are not using dynamic viewports do not need to worry about
Under dynamic viewport,
viewport-dimensions is the current size
of the current workspace, and does not have the meaning as a user option.