Reference

XWindowAttributes(3x) on Linux

The text bf2033ab8074, as Debian 2.2 (Potato), Debian 2.1 (Slink), Debian 2.0 (Hamm), Debian 1.3 (Bo) shipped it.

get current window attribute or geometry and current window attributes structure

XWindowAttributes(3x) on Linux now