The function
screen-internal-geometry
returns the geometry (as
x
,
y
,
width
and
height
) of the part of the screen that can be used to display windows. This region excludes any borders, the Mac OS X dock, and so on.
On Microsoft Windows
screen-internal-geometry
works with document-container, returning the current size of the container (which may vary over time).