[vlc-devel] commit: XCB: use the selected visual rather than the root visual ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Feb 7 22:43:01 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Feb  7 21:56:54 2009 +0200| [4c06a308e892439a5e8955f0fc2f29b56a5797de] | committer: Rémi Denis-Courmont 

XCB: use the selected visual rather than the root visual

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4c06a308e892439a5e8955f0fc2f29b56a5797de
---

 modules/video_output/xcb/xcb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/xcb/xcb.c b/modules/video_output/xcb/xcb.c
index eae5820..33101e8 100644
--- a/modules/video_output/xcb/xcb.c
+++ b/modules/video_output/xcb/xcb.c
@@ -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;




More information about the vlc-devel mailing list