A port of the dmenu drawing functions to xcb