xcb.c: drawing