get-size in window<%>
This gets the size of the entire window in pixels, not counting
horizontal and vertical margins. (Under X, this size does not include
a title bar or borders for a frame/dialog.) See also
get-client-size.
The geometry is returned as two values: width and height (in pixels).