Commit 0ad998bd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB/window: pass zero for window coordinates

All window manager override the parameters anyway. This never worked.
parent 643f98a1
...@@ -252,7 +252,7 @@ static int Open (vout_window_t *wnd, const vout_window_cfg_t *cfg) ...@@ -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); xcb_window_t window = xcb_generate_id (conn);
ck = xcb_create_window_checked (conn, scr->root_depth, window, scr->root, 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, XCB_WINDOW_CLASS_INPUT_OUTPUT,
scr->root_visual, mask, values); scr->root_visual, mask, values);
err = xcb_request_check (conn, ck); err = xcb_request_check (conn, ck);
......
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