Commit 4c06a308 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB: use the selected visual rather than the root visual

parent 5e67e38e
......@@ -453,7 +453,7 @@ static int Init (vout_thread_t *vout)
c = xcb_create_window_checked (p_sys->conn, screen->root_depth, window,
p_sys->parent, x, y, width, height, 0,
XCB_WINDOW_CLASS_INPUT_OUTPUT,
screen->root_visual, mask, values);
p_sys->vid, mask, values);
if (CheckError (vout, "cannot create X11 window", c))
goto error;
p_sys->window = window;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment