diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c index db1656f4a6..4adb10f2f6 100644 --- a/libvo/vo_xmga.c +++ b/libvo/vo_xmga.c @@ -220,7 +220,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, } else { vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, d_width, d_height, - flags, InputOutput, "xmga", title); + flags, xWAttribs.colormap, "xmga", title); } if (vo_gc != None) diff --git a/libvo/vo_xover.c b/libvo/vo_xover.c index 2ec9f7dea3..88689714d6 100644 --- a/libvo/vo_xover.c +++ b/libvo/vo_xover.c @@ -302,7 +302,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, { vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, window_width, window_height, flags, - InputOutput, "xvidix", title); + xswa.colormap, "xvidix", title); XChangeWindowAttributes(mDisplay, vo_window, xswamask, &xswa); }