Add XVisualInfo support