XCB: do not look for static color visuals
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 7 Feb 2009 21:40:50 +0000 (23:40 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 7 Feb 2009 21:42:32 +0000 (23:42 +0200)
We really don't support them anyway

modules/video_output/xcb/xcb.c

index e39257c..166622e 100644 (file)
@@ -154,10 +154,12 @@ static int Open (vlc_object_t *obj)
     if ((vt = xcb_aux_find_visual_by_attrs (scr, XCB_VISUAL_CLASS_TRUE_COLOR,
                                             scr->root_depth)) != NULL)
         msg_Dbg (vout, "using TrueColor visual ID %d", (int)vt->visual_id);
+#if 0
     else
     if ((vt = xcb_aux_find_visual_by_attrs (scr, XCB_VISUAL_CLASS_STATIC_COLOR,
                                             scr->root_depth)) != NULL)
         msg_Dbg (vout, "using static color visual ID %d", (int)vt->visual_id);
+#endif
     else
     if ((scr->root_depth == 8)
      && (vt = xcb_aux_find_visual_by_attrs (scr, XCB_VISUAL_CLASS_STATIC_GRAY,