--- a/modules/video_output/xcb/x11.c
+++ b/modules/video_output/xcb/x11.c
@@ -144,7 +144,7 @@
           case 32:
             if (fmt->bits_per_pixel != 32)
                 continue;
-            fmt_pic.i_chroma = VLC_CODEC_ARGB;
+            fmt_pic.i_chroma = VLC_CODEC_BGRA;
             break;
           case 24:
             if (fmt->bits_per_pixel == 32)
