Backtrack from using xlib instead of xcb