Combines get_best_with_depth and get_best_with_type.
Visual selection should be done using get_system_visual and get_rgba_visual
| depth |
a bit depth |
| visual_type |
a visual type |
|
best visual with both |