Get the system’s default visual for the default GDK screen.
Use gdk_screen_get_system_visual (gdk_screen_get_default ()).
This is the visual for the root window of the display. The return value should not be freed.
system visual