X Window programming from scratch - Brown, Robert J. (Jesse Liberty's from scratch programming series., 2000)