remove XVisualInfo and use VisualInfo in X11 package instead