window-aligned-viewport

Name

window-aligned-viewport -- Return the viewport that contains the center of WIN.

Synopsis

(window-aligned-viewport win)

Description

Return the viewport that contains the center of WIN. The return value is an integral multiple of the viewport size which contains the center of the window, or the closest possible if none does.

Implementation Notes

Module: (app scwm virtual)

Defined in scheme/virtual.scm at line 60 (CVS log)