[vlc-commits] commit: XCB/window: pass requested position to the X server ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sat Mar 6 17:39:17 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar  6 18:38:25 2010 +0200| [3c2a866a6de04525e874c3aabf027608f43a381c] | committer: Rémi Denis-Courmont 

XCB/window: pass requested position to the X server

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

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

diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c
index 33815dc..fc193b4 100644
--- a/modules/video_output/xcb/window.c
+++ b/modules/video_output/xcb/window.c
@@ -253,7 +253,8 @@ static int Open (vlc_object_t *obj)
 
     xcb_window_t window = xcb_generate_id (conn);
     ck = xcb_create_window_checked (conn, scr->root_depth, window, scr->root,
-                                    0, 0, wnd->cfg->width, wnd->cfg->height, 0,
+                                    wnd->cfg->x, wnd->cfg->y,
+                                    wnd->cfg->width, wnd->cfg->height, 0,
                                     XCB_WINDOW_CLASS_INPUT_OUTPUT,
                                     scr->root_visual, mask, values);
     err = xcb_request_check (conn, ck);



More information about the vlc-commits mailing list