Examples of using the XCB protocol for coding X window system apps