Xlib reference manual - Nye, Adrian (The Definitive guides to the X Window System ;, 1992)