get-display-size in Global Graphics and Screen
get-display-size
Gets the physical size of the display in pixels. Under Windows, this size does not include the task bar. Under MacOS, this size does not include the menu bar.
(get-display-size) -> two exact non-negative integers
(get-display-size)
Returns the screen's width and height.