sketches in xlib protocol