[vlc-commits] XCB/window: pass zero for window coordinates

Rémi Denis-Courmont git at videolan.org
Thu Oct 16 19:25:56 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Oct  9 22:37:54 2014 +0300| [0ad998bd433c896addb4f6f6fb3812416ae9b033] | committer: Rémi Denis-Courmont

XCB/window: pass zero for window coordinates

All window manager override the parameters anyway. This never worked.

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

 modules/video_output/xcb/window.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c
index 6257b9a..931d49d 100644
--- a/modules/video_output/xcb/window.c
+++ b/modules/video_output/xcb/window.c
@@ -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);



More information about the vlc-commits mailing list