Commit 764088d5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB: set window provider requested position from video-x and video-y

Note that only the Qt4 provider seem to use the values this far. Also,
most window managers will move the window wherever they see fit anyway.
parent 2551fbcb
......@@ -125,6 +125,8 @@ vout_window_t *GetWindow (vout_display_t *vd,
memset( &wnd_cfg, 0, sizeof(wnd_cfg) );
wnd_cfg.type = VOUT_WINDOW_TYPE_XID;
wnd_cfg.x = var_InheritInteger (vd, "video-x");
wnd_cfg.y = var_InheritInteger (vd, "video-y");
wnd_cfg.width = vd->cfg->display.width;
wnd_cfg.height = vd->cfg->display.height;
......
......@@ -90,6 +90,8 @@ static vout_window_t *MakeWindow (vout_display_t *vd)
memset (&wnd_cfg, 0, sizeof (wnd_cfg));
wnd_cfg.type = VOUT_WINDOW_TYPE_XID;
wnd_cfg.x = var_InheritInteger (vd, "video-x");
wnd_cfg.y = var_InheritInteger (vd, "video-y");
wnd_cfg.width = vd->cfg->display.width;
wnd_cfg.height = vd->cfg->display.height;
......
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