Xlib programming manual - Nye, Adrian (Definitive guides to the X window system ;, 1992)