Xlib Programming Manual & Xlib Reference Manual, Vols. I & II (Definitive Guides to the X Window System)