The X Window System in a Nutshell: For X Version II: Release 5 by Ellie Cutler
This is a companion to the X Window System Series. Experienced X programmers can use this single-volume desktop companion for most common questions, keeping the full series of manuals for detailed reference. This book has been updated to cover R5 but is still useful for R4.