]> git.sesse.net Git - vlc/commitdiff
XCB/window: pass zero for window coordinates
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 9 Oct 2014 19:37:54 +0000 (22:37 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 16 Oct 2014 17:23:38 +0000 (20:23 +0300)
All window manager override the parameters anyway. This never worked.

modules/video_output/xcb/window.c

index 6257b9a2adddd0d8d1e6e0649d9ba8fcdd7fc1f3..931d49de7a9f53ddb2aaea3bdb02d07cb7ad73fc 100644 (file)
@@ -252,7 +252,7 @@ static int Open (vout_window_t *wnd, const vout_window_cfg_t *cfg)
 
     xcb_window_t window = xcb_generate_id (conn);
     ck = xcb_create_window_checked (conn, scr->root_depth, window, scr->root,
-                                    cfg->x, cfg->y, cfg->width, cfg->height, 0,
+                                    0, 0, cfg->width, cfg->height, 0,
                                     XCB_WINDOW_CLASS_INPUT_OUTPUT,
                                     scr->root_visual, mask, values);
     err = xcb_request_check (conn, ck);